interface RNGConditionInterface in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 8 src/RNGConditionInterface.php \Drupal\rng\RNGConditionInterface
- 3.x src/RNGConditionInterface.php \Drupal\rng\RNGConditionInterface
Allow a condition to modify an Entity Query.
Hierarchy
- interface \Drupal\rng\RNGConditionInterface
Expanded class hierarchy of RNGConditionInterface
All classes that implement RNGConditionInterface
4 files declare their use of RNGConditionInterface
- EventAccessForm.php in src/
Form/ EventAccessForm.php - EventTypeAccessDefaultsForm.php in src/
Form/ EventTypeAccessDefaultsForm.php - UserRNGSelection.php in src/
Plugin/ EntityReferenceSelection/ UserRNGSelection.php - UserRole.php in src/
Plugin/ Condition/ UserRole.php
File
- src/
RNGConditionInterface.php, line 8
Namespace
Drupal\rngView source
interface RNGConditionInterface {
/**
* Modify a query with condition configuration.
*
* This does not rely on any contexts, only valid configuration.
*
* @param \Drupal\Core\Entity\Query\QueryInterface $query
* The query object.
*/
public function alterQuery(&$query);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RNGConditionInterface:: |
public | function | Modify a query with condition configuration. | 1 |