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
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
ConfigEntityQueryTest::testStringIdConditions function core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php Tests ID conditions.
Connection::$postgresqlConditionOperatorMap property core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php A map of condition operators to PostgreSQL operators.
Connection::$sqliteConditionOperatorMap property core/lib/Drupal/Core/Database/Driver/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/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/Driver/sqlite/Connection.php Gets any special processing requirements for the condition operator.
Connection::mapConditionOperator function core/lib/Drupal/Core/Database/Driver/mysql/Connection.php Gets any special processing requirements for the condition operator.
Connection::mapConditionOperator function core/lib/Drupal/Core/Database/Driver/pgsql/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 Test 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 The cache contexts associated with this object.
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.
DatabaseLegacyTest::testDbCondition function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_condition() function.
db_condition function core/includes/database.inc Returns a new DatabaseCondition, set to the specified conjunction.
EntityCondition class core/modules/jsonapi/src/Query/EntityCondition.php A condition object for the EntityQuery.
EntityCondition.php file core/modules/jsonapi/src/Query/EntityCondition.php
EntityCondition::$allowedOperators property core/modules/jsonapi/src/Query/EntityCondition.php The allowed condition operators.
EntityCondition::$field property core/modules/jsonapi/src/Query/EntityCondition.php The field to be evaluated.
EntityCondition::$operator property core/modules/jsonapi/src/Query/EntityCondition.php The condition operator.
EntityCondition::$value property core/modules/jsonapi/src/Query/EntityCondition.php The value against which the field should be evaluated.

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