Hook actionAdminDuplicateBefore

Informations

Hook actionAdminDuplicateBefore
Locations
BO
Type action
Origin core
Aliases
Description

Located in

Origin File
core src/Adapter/Product/Update/ProductDuplicator.php

Call of the Hook in the origin file

$this->hookDispatcher->dispatchWithParameters(
    'actionAdminDuplicateBefore',
    ['id_product' => $oldProductId]
);