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
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.
ResponseStatusTest::providerTestConditions function core/tests/Drupal/KernelTests/Core/Plugin/Condition/ResponseStatusTest.php Provides test data for testConditions.
ResponseStatusTest::testConditions function core/tests/Drupal/KernelTests/Core/Plugin/Condition/ResponseStatusTest.php Tests the request path condition.
Schema::buildTableNameCondition function core/modules/mysql/src/Driver/Database/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 install.
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 Tests that subqueries as value within conditions are cloned properly.
SelectComplexTest::testJoinConditionObject function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests 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 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::providerNonArrayOperatorWithArrayValueCondition function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Data provider for testNonArrayOperatorWithArrayValueCondition().
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::testNonArrayOperatorWithArrayValueCondition function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests thrown exception for non array operator conditions with array 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.
StubCondition class core/tests/Drupal/Tests/Core/Database/Stub/StubCondition.php A stub of core Condition class for testing purposes.
StubCondition.php file core/tests/Drupal/Tests/Core/Database/Stub/StubCondition.php
StubConnection::condition function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Prepares and returns a CONDITION query object.

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