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
ConditionPluginCollectionTest::$modules property core/tests/Drupal/KernelTests/Core/Condition/ConditionPluginCollectionTest.php Modules to install.
ConditionPluginCollectionTest::testGetConfiguration function core/tests/Drupal/KernelTests/Core/Condition/ConditionPluginCollectionTest.php @covers ::getConfiguration
ConditionTest class core/tests/Drupal/Tests/Core/Database/ConditionTest.php @coversDefaultClass \Drupal\Core\Database\Query\Condition
ConditionTest.php file core/tests/Drupal/Tests/Core/Database/ConditionTest.php
ConditionTest::dataProviderTestCompileWithKnownOperators function core/tests/Drupal/Tests/Core/Database/ConditionTest.php Provides a list of known operations and the expected output.
ConditionTest::providerSimpleCondition function core/tests/Drupal/Tests/Core/Database/ConditionTest.php Provides a list of known operations and the expected output.
ConditionTest::providerTestCompileWithSqlInjectionForOperator function core/tests/Drupal/Tests/Core/Database/ConditionTest.php
ConditionTest::testCompileWithKnownOperators function core/tests/Drupal/Tests/Core/Database/ConditionTest.php @covers ::compile
ConditionTest::testCompileWithSqlInjectionForOperator function core/tests/Drupal/Tests/Core/Database/ConditionTest.php @covers ::compile
ConditionTest::testContribCondition function core/tests/Drupal/Tests/Core/Database/ConditionTest.php Tests that the core Condition can be overridden.
ConditionTest::testSimpleCondition function core/tests/Drupal/Tests/Core/Database/ConditionTest.php @covers ::compile
@dataProvider providerSimpleCondition
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 install.
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/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Connection.php Prepares and returns a CONDITION query object.
Connection::condition function core/tests/fixtures/database_drivers/custom/fake/Connection.php Prepares and returns a CONDITION query object.
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.

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