Search for condition

  1. Search 7.x for condition
  2. Search 9.5.x for condition
  3. Search 8.9.x for condition
  4. Search 10.3.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/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Condition.php CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Condition.
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/Attribute/Condition.php Defines a condition plugin attribute.
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
Filter::CONDITION_KEY constant core/modules/jsonapi/src/Query/Filter.php Key in the filter[<key>] parameter for conditions.
Filter::queryCondition function core/modules/jsonapi/src/Query/Filter.php Applies the root condition to the given query.
FilterTest::queryConditionData function core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php Simply provides test data to keep the actual test method tidy.
FilterTest::testQueryCondition function core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php @covers ::queryCondition
FormController::$condition property core/modules/system/tests/modules/condition_test/src/FormController.php The condition plugin we will be working with.
FormController::$conditionCurrentTheme property core/modules/system/tests/modules/condition_test/src/FormController.php The condition plugin current_theme.
GroupwiseMax::alterSubqueryCondition function core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php Recursive helper to add a namespace to conditions.
GroupwiseMax::conditionNamespace function core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php Helper function to namespace query pieces.
hook_condition_info_alter function core/core.api.php Alter the information provided in \Drupal\Core\Condition\ConditionManager::getDefinitions().
KernelTestBase::assertPostConditions function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBaseShutdownTest::assertPostConditions function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php
LanguageConditionTest class core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php Tests the language condition plugin.
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
LanguageConditionTest::setUp function core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php
LanguageConditionTest::testConditions function core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php Tests 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.
NavigationRenderer::meetsContentEntityRoutesCondition function core/modules/navigation/src/NavigationRenderer.php Determines if content entity route condition is met.
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
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.
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
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
QueryBase::condition function core/lib/Drupal/Core/Entity/Query/QueryBase.php
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

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