abstract class ConditionBase

Defines a common base class for all entity condition implementations.

Hierarchy

File

core/lib/Drupal/Core/Entity/Query/ConditionBase.php, line 8

Namespace

Drupal\Core\Entity\Query

Members

Name Modifiers Type Description
ConditionBase::condition public function Adds a condition. Overrides ConditionInterface::condition
ConditionFundamentals::$conditions protected property Array of conditions.
ConditionFundamentals::$conjunction protected property The conjunction of this condition group. The value is one of the following:
ConditionFundamentals::$namespaces protected property List of potential namespaces of the classes belonging to this condition.
ConditionFundamentals::$query protected property The query this condition belongs to.
ConditionFundamentals::conditions public function Gets a complete list of all conditions in this conditional clause. Overrides ConditionInterface::conditions
ConditionFundamentals::count public function Implements \Countable::count(). Overrides ConditionInterface::count
ConditionFundamentals::getConjunction public function Gets the current conjunction. Overrides ConditionInterface::getConjunction
ConditionFundamentals::__clone public function Implements the magic __clone function.
ConditionFundamentals::__construct public function Constructs a Condition object.
ConditionInterface::compile public function Compiles this conditional clause.
ConditionInterface::exists public function Queries for the existence of a field.
ConditionInterface::notExists public function Queries for the existence of a field.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Query!ConditionBase.php/class/ConditionBase/8.1.x