Search for condition

  1. Search 7.x for condition
  2. Search 9.5.x for condition
  3. Search 10.3.x for condition
  4. Search 11.x for condition
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Condition class core/lib/Drupal/Core/Config/Entity/Query/Condition.php Defines the condition class for the config entity query.
Condition class core/lib/Drupal/Core/Database/Query/Condition.php Generic class for a series of conditions in a query.
Condition class core/lib/Drupal/Core/Entity/Query/Sql/Condition.php Implements entity query conditions for SQL databases.
Condition class core/lib/Drupal/Core/Entity/Query/Sql/pgsql/Condition.php Implements entity query conditions for PostgreSQL databases.
Condition class core/lib/Drupal/Core/Entity/Query/Null/Condition.php Defines the condition class for the null entity query.
Condition class core/lib/Drupal/Core/Entity/KeyValueStore/Query/Condition.php Defines the condition class for the key value entity query.
Condition class core/lib/Drupal/Core/Condition/Annotation/Condition.php Defines a condition plugin annotation object.

All search results

Title Object type File name Summary
LanguageConditionTest.php file core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php
LanguageConditionTest::$languageManager property core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php The language manager.
LanguageConditionTest::$manager property core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php The condition plugin manager.
LanguageConditionTest::$modules property core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php Modules to enable.
LanguageConditionTest::setUp function core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php
LanguageConditionTest::testConditions function core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php Test the language condition.
LanguageNegotiationContentEntity::meetsContentEntityRoutesCondition function core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationContentEntity.php Determines if content entity route condition is met.
MenuTreeParameters::$conditions property core/lib/Drupal/Core/Menu/MenuTreeParameters.php The conditions used to restrict which links are loaded.
MenuTreeParameters::addCondition function core/lib/Drupal/Core/Menu/MenuTreeParameters.php Adds a custom query condition.
MenuTreeParametersTest::testAddCondition function core/tests/Drupal/Tests/Core/Menu/MenuTreeParametersTest.php Tests addCondition().
Merge::$conditionTable property core/lib/Drupal/Core/Database/Query/Merge.php The table or subquery to be used for the condition.
Merge::conditionTable function core/lib/Drupal/Core/Database/Query/Merge.php Sets the table or subquery to be used for the condition.
NodeConditionTest class core/modules/node/tests/src/Kernel/NodeConditionTest.php Tests that conditions, provided by the node module, are working properly.
NodeConditionTest.php file core/modules/node/tests/src/Kernel/NodeConditionTest.php
NodeConditionTest::$modules property core/modules/node/tests/src/Kernel/NodeConditionTest.php Modules to enable.
NodeConditionTest::setUp function core/modules/node/tests/src/Kernel/NodeConditionTest.php
NodeConditionTest::testConditions function core/modules/node/tests/src/Kernel/NodeConditionTest.php Tests conditions.
NodeGrantDatabaseStorage::buildGrantsQueryCondition function core/modules/node/src/NodeGrantDatabaseStorage.php Creates a query condition from an array of node access grants.
OptionalContextCondition class core/modules/system/tests/modules/condition_test/src/Plugin/Condition/OptionalContextCondition.php Provides a condition with an optional node context.
OptionalContextCondition.php file core/modules/system/tests/modules/condition_test/src/Plugin/Condition/OptionalContextCondition.php
OptionalContextCondition::evaluate function core/modules/system/tests/modules/condition_test/src/Plugin/Condition/OptionalContextCondition.php Evaluates the condition and returns TRUE or FALSE accordingly.
OptionalContextCondition::summary function core/modules/system/tests/modules/condition_test/src/Plugin/Condition/OptionalContextCondition.php Provides a human readable summary of the condition's configuration.
OptionalContextConditionTest class core/tests/Drupal/KernelTests/Core/Plugin/Condition/OptionalContextConditionTest.php Tests a condition with optional context.
OptionalContextConditionTest.php file core/tests/Drupal/KernelTests/Core/Plugin/Condition/OptionalContextConditionTest.php
OptionalContextConditionTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/Condition/OptionalContextConditionTest.php Modules to enable.
OptionalContextConditionTest::testContextAvailable function core/tests/Drupal/KernelTests/Core/Plugin/Condition/OptionalContextConditionTest.php Tests with both contexts mapped to the same user.
OptionalContextConditionTest::testContextMissing function core/tests/Drupal/KernelTests/Core/Plugin/Condition/OptionalContextConditionTest.php Tests with both contexts mapped to the same user.
OptionalContextConditionTest::testContextNoValue function core/tests/Drupal/KernelTests/Core/Plugin/Condition/OptionalContextConditionTest.php Tests with both contexts mapped to the same user.
PageCacheTest::testConditionalRequests function core/modules/page_cache/tests/src/Functional/PageCacheTest.php Tests support of requests with If-Modified-Since and If-None-Match headers.
PathAliasTestTrait::loadPathAliasByConditions function core/tests/Drupal/Tests/Traits/Core/PathAliasTestTrait.php Gets the first result from a 'load by properties' storage call.
plugin.manager.condition service core/core.services.yml Drupal\Core\Condition\ConditionManager
Query::condition function core/lib/Drupal/Core/Config/Entity/Query/Query.php Overrides \Drupal\Core\Entity\Query\QueryBase::condition().
Query::conditionAggregateGroupFactory function core/lib/Drupal/Core/Entity/Query/Null/Query.php Creates an object holding a group of conditions.
QueryAggregate::conditionAggregateGroupFactory function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Creates an object holding a group of conditions.
QueryAggregateInterface::conditionAggregate function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Sets a condition for an aggregated value.
QueryAggregateInterface::conditionAggregateGroupFactory function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Creates an object holding a group of conditions.
QueryBase::$condition property core/lib/Drupal/Core/Entity/Query/QueryBase.php Conditions.
QueryBase::$conditionAggregate property core/lib/Drupal/Core/Entity/Query/QueryBase.php Aggregate Conditions
QueryBase::andConditionGroup function core/lib/Drupal/Core/Entity/Query/QueryBase.php Creates a new group of conditions ANDed together.
QueryBase::condition function core/lib/Drupal/Core/Entity/Query/QueryBase.php Add a condition to the query or a condition group.
QueryBase::conditionAggregate function core/lib/Drupal/Core/Entity/Query/QueryBase.php
QueryBase::conditionGroupFactory function core/lib/Drupal/Core/Entity/Query/QueryBase.php Creates an object holding a group of conditions.
QueryBase::orConditionGroup function core/lib/Drupal/Core/Entity/Query/QueryBase.php Creates a new group of conditions ORed together.
QueryConditionTrait trait core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php Provides an implementation of ConditionInterface.
QueryConditionTrait.php file core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::$condition property core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php The condition object for this query.
QueryConditionTrait::alwaysFalse function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::andConditionGroup function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::arguments function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::compile function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.