public function RNGConditionInterface::alterQuery in RNG - Events and Registrations 3.x
Same name and namespace in other branches
- 8.2 src/RNGConditionInterface.php \Drupal\rng\RNGConditionInterface::alterQuery()
- 8 src/RNGConditionInterface.php \Drupal\rng\RNGConditionInterface::alterQuery()
Modify a query with condition configuration.
This does not rely on any contexts, only valid configuration.
Parameters
\Drupal\Core\Entity\Query\QueryInterface $query: The query object.
1 method overrides RNGConditionInterface::alterQuery()
- UserRole::alterQuery in src/
Plugin/ Condition/ UserRole.php - Modify a query with condition configuration.
File
- src/
RNGConditionInterface.php, line 18
Class
- RNGConditionInterface
- Allow a condition to modify an Entity Query.
Namespace
Drupal\rngCode
public function alterQuery(&$query);