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
SelectExtender::havingConditions function core/lib/Drupal/Core/Database/Query/SelectExtender.php Gets a list of all conditions in the HAVING clause.
SelectExtender::orConditionGroup function core/lib/Drupal/Core/Database/Query/SelectExtender.php Creates a new group of conditions ORed together.
SelectInterface::havingCondition function core/lib/Drupal/Core/Database/Query/SelectInterface.php Helper function to build most common HAVING conditional clauses.
SelectInterface::havingConditions function core/lib/Drupal/Core/Database/Query/SelectInterface.php Gets a list of all conditions in the HAVING clause.
SelectSubqueryTest::testConditionSubquerySelect function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests that we can use a subquery with an IN operator in a WHERE clause.
SelectSubqueryTest::testConditionSubquerySelect2 function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests we can use a subquery with a relational operator in a WHERE clause.
SelectSubqueryTest::testConditionSubquerySelect3 function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests we can use 2 subqueries with a relational operator in a WHERE clause.
SelectSubqueryTest::testConditionSubquerySelect4 function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests that we can use multiple subqueries.
SelectTest::providerRegularExpressionCondition function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Data provider for testRegularExpressionCondition().
SelectTest::testAlwaysFalseCondition function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that we can force a query to return an empty result.
SelectTest::testEmptyInCondition function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests thrown exception for IN query conditions with an empty array.
SelectTest::testExtenderAlwaysFalseCondition function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that we can force an extended query to return an empty result.
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.
StringFilter::getConditionOperator function core/modules/views/src/Plugin/views/filter/StringFilter.php Get specified condition operator mapping value.
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.
ToolbarItemConditionsMetConstraint class core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraint.php A (placed) CKEditor 5 toolbar item's conditions must be met.
ToolbarItemConditionsMetConstraint.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraint.php
ToolbarItemConditionsMetConstraint::$filterRequiredMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraint.php The violation message when a required filter is missing.
ToolbarItemConditionsMetConstraint::$imageUploadStatusRequiredMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraint.php The violation message when the required image upload status is not set.
ToolbarItemConditionsMetConstraint::$multipleMissingRequiredPluginMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraint.php The violation message when >1 required plugin is missing.
ToolbarItemConditionsMetConstraint::$singleMissingRequiredPluginMessage property core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraint.php The violation message when 1 required plugin is missing.
ToolbarItemConditionsMetConstraintValidator class core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraintValidator.php Toolbar item conditions met constraint validator.
ToolbarItemConditionsMetConstraintValidator.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraintValidator.php
ToolbarItemConditionsMetConstraintValidator::findDefinitionForToolbarItem function core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraintValidator.php Searches for CKEditor 5 plugin that provides a given toolbar item.
ToolbarItemConditionsMetConstraintValidator::validate function core/modules/ckeditor5/src/Plugin/Validation/Constraint/ToolbarItemConditionsMetConstraintValidator.php
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.

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