Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to look at the current version, PrestaShop 8. Read the current version of the documentation

Hook actionCartRuleGridFilterFormModifier

Informations

Modify cart rule grid filters This hook allows to modify filters for cart rule grid
Hook actionCartRuleGridFilterFormModifier
Locations
BO
Type action
Origin core
Aliases
Description This hook allows to modify filters for cart rule grid

Located in

Origin File
core src/Core/Grid/Filter/GridFilterFormFactory.php

Call of the Hook in the origin file

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