Search for exists

  1. Search 7.x for exists
  2. Search 9.5.x for exists
  3. Search 8.9.x for exists
  4. Search 11.x for exists
  5. Other projects
Title Object type File name Summary
ActionFormBase::exists function core/modules/action/src/Form/ActionFormBase.php Determines if the action already exists.
AddToAllBundlesConfigActionTest::testFailIfExists function core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php Tests that the action can be set to fail if the field already exists.
Attribute::offsetExists function core/lib/Drupal/Core/Template/Attribute.php
AttributeArray::offsetExists function core/lib/Drupal/Core/Template/AttributeArray.php
AttributeHelper::attributeExists function core/lib/Drupal/Core/Template/AttributeHelper.php Checks if the given attribute collection has an attribute.
AttributeHelperTest::providerTestAttributeExists function core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php Provides tests data for testAttributeExists.
AttributeHelperTest::testAttributeExists function core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php @covers ::attributeExists
@dataProvider providerTestAttributeExists
BatchBuilderTest::testQueueExists function core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php Tests queue class exists.
BatchStorage::ensureTableExists function core/lib/Drupal/Core/Batch/BatchStorage.php Check if the table exists and create it if not.
BigPipeTest::assertBigPipeNoJsCookieExists function core/modules/big_pipe/tests/src/Functional/BigPipeTest.php Asserts whether a BigPipe no-JS cookie exists or not.
BigPipeTest::assertCookieExists function core/modules/big_pipe/tests/src/Functional/BigPipeTest.php Asserts whether a cookie exists on the client or not.
BigPipeTest::assertSessionCookieExists function core/modules/big_pipe/tests/src/Functional/BigPipeTest.php Asserts whether a session cookie exists or not.
BlockRegionTest::testTransformSameThemeRegionExists function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Tests transforming a block with the same theme and an existing region.
BlockRegionTest::testTransformSameThemeRegionNotExists function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php Tests transforming a block with the same theme and a non-existent region.
BreakpointManager::providerExists function core/modules/breakpoint/src/BreakpointManager.php Determines if the provider of a definition exists.
CachedStorage::exists function core/lib/Drupal/Core/Config/CachedStorage.php Returns whether a configuration object exists.
CacheTestBase::assertCacheExists function core/modules/system/tests/src/Functional/Cache/CacheTestBase.php Asserts that a cache entry exists.
CacheTestBase::checkCacheExists function core/modules/system/tests/src/Functional/Cache/CacheTestBase.php Checks whether or not a cache entry exists.
cache_context.session.exists service core/core.services.yml Drupal\Core\Cache\Context\SessionExistsCacheContext
CheckpointExistsException class core/lib/Drupal/Core/Config/Checkpoint/CheckpointExistsException.php Thrown when trying to add a checkpoint with an ID that already exists.
CheckpointExistsException.php file core/lib/Drupal/Core/Config/Checkpoint/CheckpointExistsException.php
CheckpointStorage::exists function core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php
CommentFieldItemList::offsetExists function core/modules/comment/src/CommentFieldItemList.php
CommentNonNodeTest::commentExists function core/modules/comment/tests/src/Functional/CommentNonNodeTest.php Checks current page for specified comment.
CommentTestBase::commentExists function core/modules/comment/tests/src/Functional/CommentTestBase.php Checks current page for specified comment.
ComponentLoader::exists function core/lib/Drupal/Core/Template/Loader/ComponentLoader.php
ComponentPluginManager::providerExists function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Determines if the provider of a definition exists.
ComponentPluginManager::providerExists function core/modules/sdc/src/ComponentPluginManager.php Determines if the provider of a definition exists.
ComputedItemListTrait::offsetExists function core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php
Condition::exists function core/lib/Drupal/Core/Config/Entity/Query/Condition.php Queries for the existence of a field.
Condition::exists function core/lib/Drupal/Core/Entity/Query/Null/Condition.php Queries for the existence of a field.
Condition::exists function core/lib/Drupal/Core/Entity/Query/Sql/Condition.php Queries for the existence of a field.
Condition::exists function core/lib/Drupal/Core/Database/Query/Condition.php Sets a condition that the specified subquery returns values.
Condition::notExists function core/lib/Drupal/Core/Entity/Query/Sql/Condition.php Queries for the nonexistence of a field.
Condition::notExists function core/lib/Drupal/Core/Entity/Query/Null/Condition.php Queries for the nonexistence of a field.
Condition::notExists function core/lib/Drupal/Core/Config/Entity/Query/Condition.php Queries for the nonexistence of a field.
Condition::notExists function core/lib/Drupal/Core/Database/Query/Condition.php Sets a condition that the specified subquery returns no values.
ConditionAggregate::exists function core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php Queries for the existence of a field.
ConditionAggregate::notExists function core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php Queries for the nonexistence of a field.
ConditionAggregateInterface::exists function core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php Queries for the existence of a field.
ConditionAggregateInterface::notExists function core/lib/Drupal/Core/Entity/Query/ConditionAggregateInterface.php Queries for the nonexistence of a field.
ConditionInterface::exists function core/lib/Drupal/Core/Entity/Query/ConditionInterface.php Queries for the existence of a field.
ConditionInterface::exists function core/lib/Drupal/Core/Database/Query/ConditionInterface.php Sets a condition that the specified subquery returns values.
ConditionInterface::notExists function core/lib/Drupal/Core/Entity/Query/ConditionInterface.php Queries for the nonexistence of a field.
ConditionInterface::notExists function core/lib/Drupal/Core/Database/Query/ConditionInterface.php Sets a condition that the specified subquery returns no values.
ConfigExistsConstraint class core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraint.php Checks that the value is the name of an existing config object.
ConfigExistsConstraint.php file core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraint.php
ConfigExistsConstraint::$message property core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraint.php The error message.
ConfigExistsConstraint::$prefix property core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraint.php Optional prefix, to be specified when this contains a config entity ID.
ConfigExistsConstraintValidator class core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php Validates that a given config object exists.

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