Hook action<DefinitionId>GridQueryBuilderModifier

Informations

Hook action<DefinitionId>GridQueryBuilderModifier
Locations
FO
BO
Type action
Origin core
Aliases
Description

Located in

Origin File
core src/Core/Grid/Data/Factory/DoctrineGridDataFactory.php

Call of the Hook in the origin file

$this->hookDispatcher->dispatchWithParameters('action' . Container::camelize($this->gridId) . 'GridQueryBuilderModifier', [
    'search_query_builder' => $searchQueryBuilder,
    'count_query_builder' => $countQueryBuilder,
    'search_criteria' => $searchCriteria,
]);

Example implementation

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.