You are here

RNGConditionInterface.php in RNG - Events and Registrations 3.x

Same filename and directory in other branches
  1. 8.2 src/RNGConditionInterface.php
  2. 8 src/RNGConditionInterface.php

Namespace

Drupal\rng

File

src/RNGConditionInterface.php
View source
<?php

namespace Drupal\rng;


/**
 * Allow a condition to modify an Entity Query.
 */
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);

}

Interfaces

Namesort descending Description
RNGConditionInterface Allow a condition to modify an Entity Query.