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
QueryConditionTrait::compiled function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::condition function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::conditionGroupFactory function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::conditions function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::exists function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::isNotNull function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::isNull function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::notExists function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::orConditionGroup function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::where function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryInterface::andConditionGroup function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Creates a new group of conditions ANDed together.
QueryInterface::condition function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Add a condition to the query or a condition group.
QueryInterface::orConditionGroup function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Creates a new group of conditions ORed together.
QueryTest::$conditions property core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
QueryTest::testConditionOperatorArgumentsSQLInjection function core/tests/Drupal/KernelTests/Core/Database/QueryTest.php Tests SQL injection via condition operator.
RegistryTest::testRaceCondition function core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php Tests the behavior of the theme registry class.
RendererBubblingTest::testConditionalCacheContextBubblingSelfHealing function core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php Tests the self-healing of the redirect with conditional cache contexts.
RequestPathTest::testConditions function core/tests/Drupal/KernelTests/Core/Plugin/Condition/RequestPathTest.php Tests the request path condition.
Schema::buildTableNameCondition function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Build a condition to match a table name against a standard information_schema.
Schema::buildTableNameCondition function core/lib/Drupal/Core/Database/Schema.php Build a condition to match a table name against a standard information_schema.
SearchKeywordsConditionsTest class core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php Verify the search without keywords set and extra conditions.
SearchKeywordsConditionsTest.php file core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php
SearchKeywordsConditionsTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php The theme to install as the default for testing.
SearchKeywordsConditionsTest::$modules property core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php Modules to enable.
SearchKeywordsConditionsTest::$searchingUser property core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php A user with permission to search and post comments.
SearchKeywordsConditionsTest::setUp function core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php
SearchKeywordsConditionsTest::testSearchKeywordsConditions function core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php Verify the keywords are captured and conditions respected.
SearchQuery::$conditions property core/modules/search/src/SearchQuery.php Conditions that are used for exact searches.
Select::havingCondition function core/lib/Drupal/Core/Database/Query/Select.php Helper function to build most common HAVING conditional clauses.
Select::havingConditions function core/lib/Drupal/Core/Database/Query/Select.php Gets a list of all conditions in the HAVING clause.
SelectCloneTest::testSelectConditionSubQueryCloning function core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php Test that subqueries as value within conditions are cloned properly.
SelectComplexTest::testJoinConditionObject function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Test that join conditions can use Condition objects.
SelectComplexTest::testNestedConditions function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Confirms that we can properly nest conditional clauses.
SelectExtender::andConditionGroup function core/lib/Drupal/Core/Database/Query/SelectExtender.php Creates a new group of conditions ANDed together.
SelectExtender::condition function core/lib/Drupal/Core/Database/Query/SelectExtender.php Helper function: builds the most common conditional clauses.
SelectExtender::conditionGroupFactory function core/lib/Drupal/Core/Database/Query/SelectExtender.php Creates an object holding a group of conditions.
SelectExtender::conditions function core/lib/Drupal/Core/Database/Query/SelectExtender.php Gets the, possibly nested, list of conditions in this conditional clause.
SelectExtender::havingCondition function core/lib/Drupal/Core/Database/Query/SelectExtender.php Helper function to build most common HAVING conditional clauses.
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 Test that we can use a subquery with a relational operator in a WHERE clause.
SelectSubqueryTest::testConditionSubquerySelect3 function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Test that we can use 2 subqueries with a relational operator in a WHERE clause.
SelectSubqueryTest::testConditionSubquerySelect4 function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Test 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.

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