You are here

interface RNGConditionInterface in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 8 src/RNGConditionInterface.php \Drupal\rng\RNGConditionInterface
  2. 3.x src/RNGConditionInterface.php \Drupal\rng\RNGConditionInterface

Allow a condition to modify an Entity Query.

Hierarchy

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\rng
View 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

Namesort descending Modifiers Type Description Overrides
RNGConditionInterface::alterQuery public function Modify a query with condition configuration. 1