PrestaShop Developer Conference
PrestaShop Developer Conference
Hybrid format! Paris, France & Online - November 19, 2025
Let's talk code, commerce and open source.

Hook actionCustomerDiscountGridDefinitionModifier

Informations

Modify customer discount grid definition This hook allows to alter customer discount grid columns, actions and filters
Hook actionCustomerDiscountGridDefinitionModifier
Locations
BO
Type action
Origin core
Aliases
Description This hook allows to alter customer discount grid columns, actions and filters

Located in

Origin File
core src/Core/Grid/Definition/Factory/AbstractGridDefinitionFactory.php

Call of the Hook in the origin file

$this->hookDispatcher->dispatchWithParameters('action' . Container::camelize($definition->getId()) . 'GridDefinitionModifier', [
    'definition' => $definition,
]);