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
EntityCondition::createFromQueryParameter function core/modules/jsonapi/src/Query/EntityCondition.php Creates an EntityCondition object from a query parameter.
EntityCondition::field function core/modules/jsonapi/src/Query/EntityCondition.php The field to be evaluated.
EntityCondition::operator function core/modules/jsonapi/src/Query/EntityCondition.php The comparison operator to use for the evaluation.
EntityCondition::OPERATOR_KEY constant core/modules/jsonapi/src/Query/EntityCondition.php The operator key in the condition: filter[lorem][condition][<operator>].
EntityCondition::PATH_KEY constant core/modules/jsonapi/src/Query/EntityCondition.php The field key in the filter condition: filter[lorem][condition][<field>].
EntityCondition::validate function core/modules/jsonapi/src/Query/EntityCondition.php Validates the filter has the required fields.
EntityCondition::value function core/modules/jsonapi/src/Query/EntityCondition.php The value against which the condition should be evaluated.
EntityCondition::VALUE_KEY constant core/modules/jsonapi/src/Query/EntityCondition.php The value key in the filter condition: filter[lorem][condition][<value>].
EntityCondition::__construct function core/modules/jsonapi/src/Query/EntityCondition.php Constructs a new EntityCondition object.
EntityConditionGroup class core/modules/jsonapi/src/Query/EntityConditionGroup.php A condition group for the EntityQuery.
EntityConditionGroup.php file core/modules/jsonapi/src/Query/EntityConditionGroup.php
EntityConditionGroup::$allowedConjunctions property core/modules/jsonapi/src/Query/EntityConditionGroup.php The AND conjunction value.
EntityConditionGroup::$conjunction property core/modules/jsonapi/src/Query/EntityConditionGroup.php The conjunction.
EntityConditionGroup::$members property core/modules/jsonapi/src/Query/EntityConditionGroup.php The members of the condition group.
EntityConditionGroup::conjunction function core/modules/jsonapi/src/Query/EntityConditionGroup.php The condition group conjunction.
EntityConditionGroup::members function core/modules/jsonapi/src/Query/EntityConditionGroup.php The members which belong to the condition group.
EntityConditionGroup::__construct function core/modules/jsonapi/src/Query/EntityConditionGroup.php Constructs a new condition group object.
EntityConditionGroupTest class core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php @coversDefaultClass \Drupal\jsonapi\Query\EntityConditionGroup
@group jsonapi
EntityConditionGroupTest.php file core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php
EntityConditionGroupTest::constructProvider function core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php Data provider for testConstruct.
EntityConditionGroupTest::testConstruct function core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php @covers ::__construct
@dataProvider constructProvider
EntityConditionGroupTest::testConstructException function core/modules/jsonapi/tests/src/Unit/Query/EntityConditionGroupTest.php @covers ::__construct
EntityConditionTest class core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php @coversDefaultClass \Drupal\jsonapi\Query\EntityCondition
@group jsonapi
EntityConditionTest.php file core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php
EntityConditionTest::queryParameterProvider function core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php Data provider for testDenormalize.
EntityConditionTest::setUp function core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php
EntityConditionTest::testCreateFromQueryParameter function core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php @covers ::createFromQueryParameter
@dataProvider queryParameterProvider
EntityConditionTest::testValidation function core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php @covers ::validate
@dataProvider validationProvider
EntityConditionTest::validationProvider function core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php Data provider for testValidation.
EntityQueryTest::testConditionCount function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests that condition count returns expected number of conditions.
EntityQueryTest::testConditionOnRevisionMetadataKeys function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests entity queries with condition on the revision metadata keys.
EntityQueryTest::testInjectionInCondition function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Test against SQL inject of condition field. This covers a
database driver's EntityQuery\Condition class.
EntityQueryTest::testNestedConditionGroups function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests that nested condition groups work as expected.
FieldOrLanguageJoinTest::testLanguageBundleConditions function core/modules/views/tests/src/Kernel/Plugin/FieldOrLanguageJoinTest.php Tests the adding of conditions by the join plugin.
FileUploadResourceTestBase::testPostFileUploadDuplicateFileRaceCondition function core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php Tests using the file upload POST route twice, simulating a race condition.
FileUploadTest::testPostFileUploadDuplicateFileRaceCondition function core/modules/jsonapi/tests/src/Functional/FileUploadTest.php Tests using the file upload POST route twice, simulating a race condition.
Filter::buildEntityConditionGroup function core/modules/jsonapi/src/Query/Filter.php Denormalizes the given filter items into a single EntityConditionGroup.
Filter::CONDITION_KEY constant core/modules/jsonapi/src/Query/Filter.php Key in the filter[<key>] parameter for conditions.
Filter::queryCondition function core/modules/jsonapi/src/Query/Filter.php Applies the root condition to the given query.
FilterTest::queryConditionData function core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php Simply provides test data to keep the actual test method tidy.
FilterTest::testQueryCondition function core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php @covers ::queryCondition
FormController::$condition property core/modules/system/tests/modules/condition_test/src/FormController.php The condition plugin we will be working with.
GroupwiseMax::alterSubqueryCondition function core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php Recursive helper to add a namespace to conditions.
GroupwiseMax::conditionNamespace function core/modules/views/src/Plugin/views/relationship/GroupwiseMax.php Helper function to namespace query pieces.
HtmlTag::preRenderConditionalComments function core/lib/Drupal/Core/Render/Element/HtmlTag.php Pre-render callback: Renders #browsers into #prefix and #suffix.
HtmlTagTest::providerPreRenderConditionalComments function core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php Data provider for conditional comments test.
HtmlTagTest::testPreRenderConditionalComments function core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php @covers ::preRenderConditionalComments
@dataProvider providerPreRenderConditionalComments
KernelTestBase::assertPostConditions function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBaseShutdownTest::assertPostConditions function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php
LanguageConditionTest class core/modules/language/tests/src/Kernel/Condition/LanguageConditionTest.php Tests that the language condition, provided by the language module, is
working properly.

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