ConditionManager

A plugin manager for condition plugins. Hierarchy class \Drupal\Component\Plugin\PluginManagerBase implements PluginManagerInterface uses DiscoveryTraitclass \Drupal\Core\Plugin\DefaultPluginManager implements CachedDiscoveryInterface, PluginManagerInterface, CacheableDependencyInterface uses DiscoveryCachedTrait, UseCacheBackendTraitclass \Drupal\Core\Condition\ConditionManager implements CategorizingPluginManagerInterface, ExecutableManagerInterface uses CategorizingPluginManagerTrait, Contex

ConditionInterface::where

public ConditionInterface::where($snippet, $args = array()) Adds an arbitrary WHERE clause to the query. Parameters $snippet: A portion of a WHERE clause as a prepared statement. It must use named placeholders, not ? placeholders. $args: An associative array of arguments. Return value \Drupal\Core\Database\Query\ConditionInterface The called object. File core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 66 Class ConditionInterface Interface for a conditional clause in a qu

ConditionInterface::summary

public ConditionInterface::summary() Provides a human readable summary of the condition's configuration. File core/lib/Drupal/Core/Condition/ConditionInterface.php, line 66 Class ConditionInterface An interface for condition plugins. Namespace Drupal\Core\Condition Code public function summary();

ConditionInterface::setExecutableManager

public ConditionInterface::setExecutableManager(ExecutableManagerInterface $executableManager) Sets the executable manager class. Parameters \Drupal\Core\Executable\ExecutableManagerInterface $executableManager: The executable manager. File core/lib/Drupal/Core/Condition/ConditionInterface.php, line 74 Class ConditionInterface An interface for condition plugins. Namespace Drupal\Core\Condition Code public function setExecutableManager(ExecutableManagerInterface $executableManager);

ConditionInterface::orConditionGroup

public ConditionInterface::orConditionGroup() Creates a new group of conditions ORed together. Return value \Drupal\Core\Database\Query\ConditionInterface File core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 193 Class ConditionInterface Interface for a conditional clause in a query. Namespace Drupal\Core\Database\Query Code public function orConditionGroup();

ConditionInterface::notExists

public ConditionInterface::notExists($field, $langcode = NULL) Queries for the existence of a field. Parameters string $field: Return value ConditionInterface; See also \Drupal\Core\Entity\Query\QueryInterface::notexists() File core/lib/Drupal/Core/Entity/Query/ConditionInterface.php, line 56 Class ConditionInterface Defines the entity query condition interface. Namespace Drupal\Core\Entity\Query Code public function notExists($field, $langcode = NULL);

ConditionInterface::notExists

public ConditionInterface::notExists(SelectInterface $select) Sets a condition that the specified subquery returns no values. Parameters \Drupal\Core\Database\Query\SelectInterface $select: The subquery that must not contain results. Return value \Drupal\Core\Database\Query\ConditionInterface The called object. File core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 110 Class ConditionInterface Interface for a conditional clause in a query. Namespace Drupal\Core\Database

ConditionInterface::isNull

public ConditionInterface::isNull($field) Sets a condition that the specified field be NULL. Parameters $field: The name of the field to check. Return value \Drupal\Core\Database\Query\ConditionInterface The called object. File core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 77 Class ConditionInterface Interface for a conditional clause in a query. Namespace Drupal\Core\Database\Query Code public function isNull($field);

ConditionInterface::isNotNull

public ConditionInterface::isNotNull($field) Sets a condition that the specified field be NOT NULL. Parameters $field: The name of the field to check. Return value \Drupal\Core\Database\Query\ConditionInterface The called object. File core/lib/Drupal/Core/Database/Query/ConditionInterface.php, line 88 Class ConditionInterface Interface for a conditional clause in a query. Namespace Drupal\Core\Database\Query Code public function isNotNull($field);

ConditionInterface::isNegated

public ConditionInterface::isNegated() Determines whether condition result will be negated. Return value bool Whether the condition result will be negated. File core/lib/Drupal/Core/Condition/ConditionInterface.php, line 53 Class ConditionInterface An interface for condition plugins. Namespace Drupal\Core\Condition Code public function isNegated();