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
CurrentThemeConditionTest.php file core/tests/Drupal/KernelTests/Core/Plugin/Condition/CurrentThemeConditionTest.php
CurrentThemeConditionTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/Condition/CurrentThemeConditionTest.php
CurrentThemeConditionTest::testCurrentTheme function core/tests/Drupal/KernelTests/Core/Plugin/Condition/CurrentThemeConditionTest.php Tests the current theme condition.
DrupalAspectsOfCKEditor5Plugin::$conditions property core/modules/ckeditor5/src/Annotation/DrupalAspectsOfCKEditor5Plugin.php List of conditions to enable this plugin.
EntityBundleConditionTest class core/tests/Drupal/KernelTests/Core/Entity/EntityBundleConditionTest.php Tests that entity bundle conditions works properly.
EntityBundleConditionTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityBundleConditionTest.php
EntityBundleConditionTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleConditionTest.php
EntityBundleConditionTest::testConditions function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleConditionTest.php Tests conditions.
EntityCondition class core/modules/jsonapi/src/Query/EntityCondition.php A condition object for the EntityQuery.
EntityCondition.php file core/modules/jsonapi/src/Query/EntityCondition.php
EntityCondition::$allowedOperators property core/modules/jsonapi/src/Query/EntityCondition.php The allowed condition operators.
EntityCondition::$field property core/modules/jsonapi/src/Query/EntityCondition.php The field to be evaluated.
EntityCondition::$operator property core/modules/jsonapi/src/Query/EntityCondition.php The condition operator.
EntityCondition::$value property core/modules/jsonapi/src/Query/EntityCondition.php The value against which the field should be evaluated.
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 Tests SQL inject of condition field.
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.
Filter::buildEntityConditionGroup function core/modules/jsonapi/src/Query/Filter.php Denormalizes the given filter items into a single EntityConditionGroup.

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