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
ConditionTestDualUser class core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestDualUser.php Provides a condition that requires two users.
ConditionTestDualUser.php file core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestDualUser.php
ConditionTestDualUser::evaluate function core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestDualUser.php Evaluates the condition and returns TRUE or FALSE accordingly.
ConditionTestDualUser::summary function core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestDualUser.php Provides a human readable summary of the condition's configuration.
ConditionTestDualUserTest class core/tests/Drupal/KernelTests/Core/Plugin/Condition/ConditionTestDualUserTest.php Tests a condition that requires two users.
ConditionTestDualUserTest.php file core/tests/Drupal/KernelTests/Core/Plugin/Condition/ConditionTestDualUserTest.php
ConditionTestDualUserTest::$anonymous property core/tests/Drupal/KernelTests/Core/Plugin/Condition/ConditionTestDualUserTest.php An anonymous user for testing purposes.
ConditionTestDualUserTest::$authenticated property core/tests/Drupal/KernelTests/Core/Plugin/Condition/ConditionTestDualUserTest.php An authenticated user for testing purposes.
ConditionTestDualUserTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/Condition/ConditionTestDualUserTest.php Modules to enable.
ConditionTestDualUserTest::doTestDifferentUser function core/tests/Drupal/KernelTests/Core/Plugin/Condition/ConditionTestDualUserTest.php Tests with each context mapped to different users.
ConditionTestDualUserTest::doTestIdenticalUser function core/tests/Drupal/KernelTests/Core/Plugin/Condition/ConditionTestDualUserTest.php Tests with both contexts mapped to the same user.
ConditionTestDualUserTest::setUp function core/tests/Drupal/KernelTests/Core/Plugin/Condition/ConditionTestDualUserTest.php
ConditionTestDualUserTest::testConditions function core/tests/Drupal/KernelTests/Core/Plugin/Condition/ConditionTestDualUserTest.php Tests the dual user condition.
ConditionTestNoExistingType class core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestNoExistingType.php Provides a condition that has a no existing context.
ConditionTestNoExistingType.php file core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestNoExistingType.php
ConditionTestNoExistingType::evaluate function core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestNoExistingType.php Evaluates the condition and returns TRUE or FALSE accordingly.
ConditionTestNoExistingType::summary function core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestNoExistingType.php Provides a human readable summary of the condition's configuration.
condition_test.info.yml file core/modules/system/tests/modules/condition_test/condition_test.info.yml core/modules/system/tests/modules/condition_test/condition_test.info.yml
condition_test.routing.yml file core/modules/system/tests/modules/condition_test/condition_test.routing.yml core/modules/system/tests/modules/condition_test/condition_test.routing.yml
condition_test.schema.yml file core/modules/system/tests/modules/condition_test/config/schema/condition_test.schema.yml core/modules/system/tests/modules/condition_test/config/schema/condition_test.schema.yml
condition_test.settings.yml file core/modules/system/tests/modules/condition_test/config/install/condition_test.settings.yml core/modules/system/tests/modules/condition_test/config/install/condition_test.settings.yml
ConfigEntityQueryTest::testStringIdConditions function core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php Tests ID conditions.
Connection::$postgresqlConditionOperatorMap property core/modules/pgsql/src/Driver/Database/pgsql/Connection.php A map of condition operators to PostgreSQL operators.
Connection::$sqliteConditionOperatorMap property core/modules/sqlite/src/Driver/Database/sqlite/Connection.php A map of condition operators to SQLite operators.
Connection::condition function core/lib/Drupal/Core/Database/Connection.php Prepares and returns a CONDITION query object.
Connection::mapConditionOperator function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Gets any special processing requirements for the condition operator.
Connection::mapConditionOperator function core/modules/mysql/src/Driver/Database/mysql/Connection.php Gets any special processing requirements for the condition operator.
Connection::mapConditionOperator function core/modules/pgsql/src/Driver/Database/pgsql/Connection.php Gets any special processing requirements for the condition operator.
Connection::mapConditionOperator function core/tests/fixtures/database_drivers/custom/fake/Connection.php Gets any special processing requirements for the condition operator.
Connection::mapConditionOperator function core/lib/Drupal/Core/Database/Connection.php Gets any special processing requirements for the condition operator.
ConnectionTest::testCondition function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests that the method ::condition() returns a Condition object.
CurrentThemeCondition class core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php Provides a 'Current Theme' condition.
CurrentThemeCondition.php file core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php
CurrentThemeCondition::$themeHandler property core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php The theme handler.
CurrentThemeCondition::$themeManager property core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php The theme manager.
CurrentThemeCondition::buildConfigurationForm function core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php Form constructor.
CurrentThemeCondition::create function core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php Creates an instance of the plugin.
CurrentThemeCondition::defaultConfiguration function core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php Gets default configuration for this plugin.
CurrentThemeCondition::evaluate function core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php Evaluates the condition and returns TRUE or FALSE accordingly.
CurrentThemeCondition::getCacheContexts function core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php
CurrentThemeCondition::submitConfigurationForm function core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php Form submission handler.
CurrentThemeCondition::summary function core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php Provides a human readable summary of the condition's configuration.
CurrentThemeCondition::__construct function core/modules/system/src/Plugin/Condition/CurrentThemeCondition.php Constructs a CurrentThemeCondition condition plugin.
CurrentThemeConditionTest class core/tests/Drupal/KernelTests/Core/Plugin/Condition/CurrentThemeConditionTest.php Tests the CurrentThemeCondition plugin.
CurrentThemeConditionTest.php file core/tests/Drupal/KernelTests/Core/Plugin/Condition/CurrentThemeConditionTest.php
CurrentThemeConditionTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/Condition/CurrentThemeConditionTest.php Modules to enable.
CurrentThemeConditionTest::testCurrentTheme function core/tests/Drupal/KernelTests/Core/Plugin/Condition/CurrentThemeConditionTest.php Tests the current theme condition.
DrupalAspectsOfCKEditor5Plugin::$conditions property core/modules/ckeditor5/src/Annotation/DrupalAspectsOfCKEditor5Plugin.php List of conditions to enable this plugin.
EntityBundleConditionTest class core/tests/Drupal/KernelTests/Core/Entity/EntityBundleConditionTest.php Tests that entity bundle conditions works properly.
EntityBundleConditionTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityBundleConditionTest.php

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