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 actionCmsPageCategoryGridDefinitionModifier

Informations

Modify cms page category grid definition This hook allows to alter cms page category grid columns, actions and filters
Hook actionCmsPageCategoryGridDefinitionModifier
Locations
BO
Type action
Origin core
Aliases
Description This hook allows to alter cms page category 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,
]);