class Condition
Same name in this branch
- 10 core/lib/Drupal/Core/Config/Entity/Query/Condition.php \Drupal\Core\Config\Entity\Query\Condition
- 10 core/lib/Drupal/Core/Database/Query/Condition.php \Drupal\Core\Database\Query\Condition
- 10 core/lib/Drupal/Core/Entity/Query/Sql/Condition.php \Drupal\Core\Entity\Query\Sql\Condition
- 10 core/lib/Drupal/Core/Entity/Query/Sql/pgsql/Condition.php \Drupal\Core\Entity\Query\Sql\pgsql\Condition
- 10 core/lib/Drupal/Core/Entity/Query/Null/Condition.php \Drupal\Core\Entity\Query\Null\Condition
- 10 core/lib/Drupal/Core/Entity/KeyValueStore/Query/Condition.php \Drupal\Core\Entity\KeyValueStore\Query\Condition
- 10 core/lib/Drupal/Core/Condition/Attribute/Condition.php \Drupal\Core\Condition\Attribute\Condition
- 10 core/lib/Drupal/Core/Condition/Annotation/Condition.php \Drupal\Core\Condition\Annotation\Condition
Same name and namespace in other branches
- 11.x core/modules/pgsql/src/EntityQuery/Condition.php \Drupal\pgsql\EntityQuery\Condition
- 11.x core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Condition.php \Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses\Condition
- 11.x core/lib/Drupal/Core/Config/Entity/Query/Condition.php \Drupal\Core\Config\Entity\Query\Condition
- 11.x core/lib/Drupal/Core/Database/Query/Condition.php \Drupal\Core\Database\Query\Condition
- 11.x core/lib/Drupal/Core/Entity/Query/Sql/Condition.php \Drupal\Core\Entity\Query\Sql\Condition
- 11.x core/lib/Drupal/Core/Entity/Query/Sql/pgsql/Condition.php \Drupal\Core\Entity\Query\Sql\pgsql\Condition
- 11.x core/lib/Drupal/Core/Entity/Query/Null/Condition.php \Drupal\Core\Entity\Query\Null\Condition
- 11.x core/lib/Drupal/Core/Entity/KeyValueStore/Query/Condition.php \Drupal\Core\Entity\KeyValueStore\Query\Condition
- 11.x core/lib/Drupal/Core/Condition/Attribute/Condition.php \Drupal\Core\Condition\Attribute\Condition
- 11.x core/lib/Drupal/Core/Condition/Annotation/Condition.php \Drupal\Core\Condition\Annotation\Condition
- 9 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Condition.php \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\Condition
- 9 core/lib/Drupal/Core/Config/Entity/Query/Condition.php \Drupal\Core\Config\Entity\Query\Condition
- 9 core/lib/Drupal/Core/Database/Query/Condition.php \Drupal\Core\Database\Query\Condition
- 9 core/lib/Drupal/Core/Entity/Query/Sql/Condition.php \Drupal\Core\Entity\Query\Sql\Condition
- 9 core/lib/Drupal/Core/Entity/Query/Sql/pgsql/Condition.php \Drupal\Core\Entity\Query\Sql\pgsql\Condition
- 9 core/lib/Drupal/Core/Entity/Query/Null/Condition.php \Drupal\Core\Entity\Query\Null\Condition
- 9 core/lib/Drupal/Core/Entity/KeyValueStore/Query/Condition.php \Drupal\Core\Entity\KeyValueStore\Query\Condition
- 9 core/lib/Drupal/Core/Condition/Annotation/Condition.php \Drupal\Core\Condition\Annotation\Condition
- 8.9.x core/lib/Drupal/Core/Config/Entity/Query/Condition.php \Drupal\Core\Config\Entity\Query\Condition
- 8.9.x core/lib/Drupal/Core/Database/Query/Condition.php \Drupal\Core\Database\Query\Condition
- 8.9.x core/lib/Drupal/Core/Entity/Query/Sql/Condition.php \Drupal\Core\Entity\Query\Sql\Condition
- 8.9.x core/lib/Drupal/Core/Entity/Query/Sql/pgsql/Condition.php \Drupal\Core\Entity\Query\Sql\pgsql\Condition
- 8.9.x core/lib/Drupal/Core/Entity/Query/Null/Condition.php \Drupal\Core\Entity\Query\Null\Condition
- 8.9.x core/lib/Drupal/Core/Entity/KeyValueStore/Query/Condition.php \Drupal\Core\Entity\KeyValueStore\Query\Condition
- 8.9.x core/lib/Drupal/Core/Condition/Annotation/Condition.php \Drupal\Core\Condition\Annotation\Condition
CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Condition.
Hierarchy
- class \Drupal\Core\Database\Query\Condition implements \Drupal\Core\Database\Query\ConditionInterface, \Drupal\Core\Database\Query\Countable
- class \Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses\Condition extends \Drupal\Core\Database\Query\Condition
Expanded class hierarchy of Condition
7 string references to 'Condition'
- ConditionAggregate::compile in core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ ConditionAggregate.php - ConditionManager::getType in core/
lib/ Drupal/ Core/ Condition/ ConditionManager.php - Connection::condition in core/
lib/ Drupal/ Core/ Database/ Connection.php - Prepares and returns a CONDITION query object.
- Connection::getDriverClass in core/
lib/ Drupal/ Core/ Database/ Connection.php - Gets the driver-specific override class if any for the specified class.
- ConnectionTest::providerGetDriverClass in core/
tests/ Drupal/ Tests/ Core/ Database/ ConnectionTest.php - Data provider for testGetDriverClass().
File
-
core/
tests/ fixtures/ database_drivers/ module/ core_fake/ src/ Driver/ Database/ CoreFakeWithAllCustomClasses/ Condition.php, line 10
Namespace
Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClassesView source
class Condition extends QueryCondition {
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overriden Title |
---|---|---|---|---|
Condition::$arguments | protected | property | Array of arguments. | |
Condition::$changed | protected | property | Whether the conditions have been changed. | |
Condition::$conditionOperatorMap | protected static | property | Provides a map of condition operators to condition operator options. | |
Condition::$conditions | protected | property | Array of conditions. | |
Condition::$queryPlaceholderIdentifier | protected | property | The identifier of the query placeholder this condition has been compiled against. | |
Condition::$stringVersion | protected | property | Contains the string version of the Condition. | |
Condition::alwaysFalse | public | function | Overrides ConditionInterface::alwaysFalse | |
Condition::andConditionGroup | public | function | Overrides ConditionInterface::andConditionGroup | |
Condition::arguments | public | function | Overrides ConditionInterface::arguments | |
Condition::compile | public | function | Overrides ConditionInterface::compile | |
Condition::compiled | public | function | Overrides ConditionInterface::compiled | |
Condition::condition | public | function | Overrides ConditionInterface::condition | |
Condition::conditionGroupFactory | public | function | Overrides ConditionInterface::conditionGroupFactory | |
Condition::conditions | public | function | Overrides ConditionInterface::conditions | |
Condition::count | public | function | Implements Countable::count(). | |
Condition::exists | public | function | Overrides ConditionInterface::exists | |
Condition::isNotNull | public | function | Overrides ConditionInterface::isNotNull | |
Condition::isNull | public | function | Overrides ConditionInterface::isNull | |
Condition::mapConditionOperator | protected | function | Gets any special processing requirements for the condition operator. | |
Condition::notExists | public | function | Overrides ConditionInterface::notExists | |
Condition::orConditionGroup | public | function | Overrides ConditionInterface::orConditionGroup | |
Condition::where | public | function | Overrides ConditionInterface::where | |
Condition::__clone | public | function | PHP magic __clone() method. | |
Condition::__construct | public | function | Constructs a Condition object. | |
Condition::__toString | public | function | Implements PHP magic __toString method to convert the conditions to string. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.