Search for condition

  1. Search 7.x for condition
  2. Search 8.9.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/tests/fixtures/database_drivers/module/corefake/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/Annotation/Condition.php Defines a condition plugin annotation object.

All search results

Title Object type File name Summary
FormController::$condition_current_theme 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().
HtmlTag::preRenderConditionalComments function core/lib/Drupal/Core/Render/Element/HtmlTag.php Pre-render callback: Renders #browsers into #prefix and #suffix.
HtmlTagTest::providerPreRenderConditionalComments function core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php Data provider for conditional comments test.
HtmlTagTest::testPreRenderConditionalComments function core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php @group legacy
@covers ::preRenderConditionalComments
@dataProvider providerPreRenderConditionalComments
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 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 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.
NodeBlockFunctionalTest::testDeprecatedNodeTypeCondition function core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php Tests customization of deprecated node type 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.
NodeConditionTest::testLegacy function core/modules/node/tests/src/Kernel/NodeConditionTest.php @group legacy
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.

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