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
EntityQueryTest::testConditionCount function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests that condition count returns expected number of conditions.
EntityQueryTest::testConditionOnRevisionMetadataKeys function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests entity queries with condition on the revision metadata keys.
EntityQueryTest::testInjectionInCondition function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests SQL inject of condition field.
EntityQueryTest::testNestedConditionGroups function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests that nested condition groups work as expected.
FieldOrLanguageJoinTest::testLanguageBundleConditions function core/modules/views/tests/src/Kernel/Plugin/FieldOrLanguageJoinTest.php Tests the adding of conditions by the join plugin.
FileUploadResourceTestBase::testPostFileUploadDuplicateFileRaceCondition function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload POST route twice, simulating a race condition.
Filter::buildEntityConditionGroup function core/modules/jsonapi/src/Query/Filter.php Denormalizes the given filter items into a single EntityConditionGroup.
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 Modules to install.
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 Modules to install.
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.
PhpTuf\ComposerStager\API\Precondition\Service\ActiveAndStagingDirsAreDifferentInterface service core/modules/package_manager/package_manager.services.yml PhpTuf\ComposerStager\Internal\Precondition\Service\ActiveAndStagingDirsAreDifferent
PhpTuf\ComposerStager\API\Precondition\Service\ActiveDirExistsInterface service core/modules/package_manager/package_manager.services.yml PhpTuf\ComposerStager\Internal\Precondition\Service\ActiveDirExists
PhpTuf\ComposerStager\API\Precondition\Service\ActiveDirIsReadyInterface service core/modules/package_manager/package_manager.services.yml PhpTuf\ComposerStager\Internal\Precondition\Service\ActiveDirIsReady
PhpTuf\ComposerStager\API\Precondition\Service\ActiveDirIsWritableInterface service core/modules/package_manager/package_manager.services.yml PhpTuf\ComposerStager\Internal\Precondition\Service\ActiveDirIsWritable
PhpTuf\ComposerStager\API\Precondition\Service\BeginnerPreconditionsInterface service core/modules/package_manager/package_manager.services.yml PhpTuf\ComposerStager\Internal\Precondition\Service\BeginnerPreconditions

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