Hook actionWatermark

Informations

Watermark
Hook actionWatermark
Locations
FO
Type action
Origin core
Aliases [watermark]

Located in

Origin File
core src/Adapter/Product/Image/Uploader/ProductImageUploader.php

Parameters details

    <?php
    array(
      'id_image' => (int) Image ID,
      'id_product' => (int) Product ID
    );

Call of the Hook in the origin file

dispatchWithParameters(
            'actionWatermark',
            ['id_image' => $imageId->getValue(), 'id_product' => $productId]
        )