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
SelectTest::testIsNotNullCondition function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that we can find a record without a NULL value.
SelectTest::testIsNullCondition function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that we can find a record with a NULL value.
SelectTest::testNullCondition function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that a comparison with NULL is always FALSE.
SelectTest::testRegularExpressionCondition function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that filter by 'REGEXP' and 'NOT REGEXP' works as expected.
SelectTest::testSimpleSelectConditional function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests basic conditionals on SELECT statements.
Sql::buildCondition function core/modules/views/src/Plugin/views/query/Sql.php Construct the "WHERE" or "HAVING" part of the query.
StubConnection::mapConditionOperator function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Gets any special processing requirements for the condition operator.
TemporaryQueryGuard::addConditionFieldPrefix function core/modules/jsonapi/src/Access/TemporaryQueryGuard.php Prefixes all fields in an EntityConditionGroup.
TemporaryQueryGuard::applyAccessConditions function core/modules/jsonapi/src/Access/TemporaryQueryGuard.php Applies access conditions to ensure 'view' access is respected.
TemporaryQueryGuard::getAccessCondition function core/modules/jsonapi/src/Access/TemporaryQueryGuard.php Gets an EntityConditionGroup that filters out inaccessible entities.
TemporaryQueryGuard::getAccessConditionForKnownSubsets function core/modules/jsonapi/src/Access/TemporaryQueryGuard.php Gets an access condition for the allowed JSONAPI_FILTER_AMONG_* subsets.
TemporaryQueryGuard::getCommentAccessCondition function core/modules/jsonapi/src/Access/TemporaryQueryGuard.php Gets an access condition for a comment entity.
TestConditionAccessResolverTrait class core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php
TestSelection::$conditionType property core/modules/block_content/tests/modules/block_content_test/src/Plugin/EntityReferenceSelection/TestSelection.php The condition type.
TimezoneTest::$testConditions property core/tests/Drupal/KernelTests/Core/Datetime/Element/TimezoneTest.php The number of test elements on the form.
UpdateComplexTest::testBetweenConditionUpdate function core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php Tests BETWEEN conditional clauses.
UpdateComplexTest::testInConditionUpdate function core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php Tests WHERE IN clauses.
UpdateComplexTest::testLikeConditionUpdate function core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php Tests LIKE conditionals.
UpdateComplexTest::testNotInConditionUpdate function core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php Tests WHERE NOT IN clauses.
UpdateComplexTest::testOrConditionUpdate function core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php Tests updates with OR conditionals.
UpdateTest::testWhereAndConditionUpdate function core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php Confirms that we can stack condition and where calls.
UserRoleConditionTest class core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php Tests the user role condition.
UserRoleConditionTest.php file core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php
UserRoleConditionTest::$anonymous property core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php An anonymous user for testing purposes.
UserRoleConditionTest::$authenticated property core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php An authenticated user for testing purposes.
UserRoleConditionTest::$manager property core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php The condition plugin manager.
UserRoleConditionTest::$modules property core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php Modules to enable.
UserRoleConditionTest::$role property core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php A custom role for testing purposes.
UserRoleConditionTest::setUp function core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php
UserRoleConditionTest::testConditions function core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php Test the user_role condition.
ViewsSearchQuery::conditionReplaceString function core/modules/search/src/ViewsSearchQuery.php Replaces the original condition with a custom one from views recursively.
ViewsSearchQuery::conditions function core/modules/search/src/ViewsSearchQuery.php Returns the conditions property.
WebDriverTestBase::assertJsCondition function core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php Waits for the given time or until the given JS condition becomes TRUE.
WorkspaceIntegrationTest::testEntityQueryWithoutConditions function core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php Tests entity query overrides without any conditions.
_block_content_has_reusable_condition function core/modules/block_content/block_content.module Utility function to find nested conditions using the reusable field.
_views_query_tag_alter_condition function core/modules/views/views.module Replaces the substitutions recursive foreach condition.

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