PrestaShop Developer Conference
PrestaShop Developer Conference
Paris, France - November 30, 2023
Let's talk code, commerce and open source.

Hook action<DefinitionId>GridDefinitionModifier

Information

Hook locations:

  • front office
  • back office

Hook type: action

Located in:

Call of the Hook in the origin file

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

Example implementation

This hook has been implemented as an example in our modules examples repository - demoextendgrid.

This hook has been implemented as an example in our modules examples repository - demoextendsymfonyform1.

This hook has been implemented as an example in our modules examples repository - demoextendsymfonyform3.