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
AccessResultTest::testAccessConditionallyAllowed function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::allowedIf
@covers ::isAllowed
@covers ::isForbidden
@covers ::isNeutral
AccessResultTest::testAccessConditionallyForbidden function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::forbiddenIf
@covers ::isAllowed
@covers ::isForbidden
@covers ::isNeutral
AlterTest::testAlterChangeConditional function core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests that we can alter a query's conditionals.
AssertPreconditionsTrait trait core/modules/package_manager/tests/src/Traits/AssertPreconditionsTrait.php Asserts preconditions for tests to function properly.
AssertPreconditionsTrait.php file core/modules/package_manager/tests/src/Traits/AssertPreconditionsTrait.php
AssertPreconditionsTrait::assertNoFailureMarker function core/modules/package_manager/tests/src/Traits/AssertPreconditionsTrait.php Asserts that there is no failure marker present.
AssertPreconditionsTrait::failIfUnmetPreConditions function core/modules/package_manager/tests/src/Traits/AssertPreconditionsTrait.php Asserts universal test preconditions before any setup is done.
AssertPreconditionsTrait::getProjectRoot function core/modules/package_manager/tests/src/Traits/AssertPreconditionsTrait.php Returns the absolute path of the project root.
AssertPreconditionsTrait::setUpBeforeClass function core/modules/package_manager/tests/src/Traits/AssertPreconditionsTrait.php Invokes the test preconditions assertion before the first test is run.
AssertPreconditionsTrait::tearDown function core/modules/package_manager/tests/src/Traits/AssertPreconditionsTrait.php Invokes the test preconditions assertion after each test run.
Block::$conditionPluginManager property core/modules/block/src/Entity/Block.php The condition plugin manager.
Block::conditionPluginManager function core/modules/block/src/Entity/Block.php Gets the condition plugin manager.
Block::getVisibilityCondition function core/modules/block/src/Entity/Block.php
Block::getVisibilityConditions function core/modules/block/src/Entity/Block.php
BlockAccessControlHandler::mergeCacheabilityFromConditions function core/modules/block/src/BlockAccessControlHandler.php Merges cacheable metadata from conditions onto the access result object.
BlockContentEntityReferenceSelectionTest::fieldConditionProvider function core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php Provides possible fields and condition types.
BlockContentEntityReferenceSelectionTest::testFieldConditions function core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php Tests setting 'reusable' condition on different levels.
BlockContentEntityReferenceSelectionTest::testNoConditions function core/modules/block_content/tests/src/Kernel/BlockContentEntityReferenceSelectionTest.php Tests with no conditions set.
BlockFormTest::$conditionManager property core/modules/block/tests/src/Unit/BlockFormTest.php The condition plugin manager.
BlockInterface::getVisibilityCondition function core/modules/block/src/BlockInterface.php Gets a visibility condition plugin instance.
BlockInterface::getVisibilityConditions function core/modules/block/src/BlockInterface.php Gets conditions for this block.
BrowserWithJavascriptTest::testAssertJsCondition function core/tests/Drupal/FunctionalJavascriptTests/BrowserWithJavascriptTest.php
CacheablePreconditionFailedHttpException class core/lib/Drupal/Core/Http/Exception/CacheablePreconditionFailedHttpException.php A cacheable PreconditionFailedHttpException.
CacheablePreconditionFailedHttpException.php file core/lib/Drupal/Core/Http/Exception/CacheablePreconditionFailedHttpException.php
CacheablePreconditionFailedHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheablePreconditionFailedHttpException.php
CacheablePreconditionRequiredHttpException class core/lib/Drupal/Core/Http/Exception/CacheablePreconditionRequiredHttpException.php A cacheable PreconditionRequiredHttpException.
CacheablePreconditionRequiredHttpException.php file core/lib/Drupal/Core/Http/Exception/CacheablePreconditionRequiredHttpException.php
CacheablePreconditionRequiredHttpException::__construct function core/lib/Drupal/Core/Http/Exception/CacheablePreconditionRequiredHttpException.php
CKEditor5PluginDefinition::getConditions function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Gets the list of conditions to enable this plugin.
CKEditor5PluginDefinition::hasConditions function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Whether this plugin has conditions.
ckeditor5_plugin_conditions_test.ckeditor5.yml file core/modules/ckeditor5/tests/modules/ckeditor5_plugin_conditions_test/ckeditor5_plugin_conditions_test.ckeditor5.yml core/modules/ckeditor5/tests/modules/ckeditor5_plugin_conditions_test/ckeditor5_plugin_conditions_test.ckeditor5.yml
ckeditor5_plugin_conditions_test.info.yml file core/modules/ckeditor5/tests/modules/ckeditor5_plugin_conditions_test/ckeditor5_plugin_conditions_test.info.yml core/modules/ckeditor5/tests/modules/ckeditor5_plugin_conditions_test/ckeditor5_plugin_conditions_test.info.yml
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/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/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/Condition/Annotation/Condition.php Defines a condition plugin annotation object.
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/Entity/Query/Null/Condition.php Defines the condition class for the null entity query.
Condition class core/lib/Drupal/Core/Condition/Attribute/Condition.php Defines a condition plugin attribute.
Condition.php file core/lib/Drupal/Core/Config/Entity/Query/Condition.php
Condition.php file core/lib/Drupal/Core/Condition/Attribute/Condition.php
Condition.php file core/lib/Drupal/Core/Entity/Query/Sql/pgsql/Condition.php
Condition.php file core/lib/Drupal/Core/Entity/Query/Sql/Condition.php
Condition.php file core/lib/Drupal/Core/Condition/Annotation/Condition.php
Condition.php file core/lib/Drupal/Core/Database/Query/Condition.php
Condition.php file core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Condition.php
Condition.php file core/lib/Drupal/Core/Entity/Query/Null/Condition.php
Condition.php file core/lib/Drupal/Core/Entity/KeyValueStore/Query/Condition.php

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