Search for exists

  1. Search 7.x for exists
  2. Search 9.5.x for exists
  3. Search 10.3.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.
AliasStorage::aliasExists function core/lib/Drupal/Core/Path/AliasStorage.php Checks if alias already exists.
AliasStorage::languageAliasExists function core/lib/Drupal/Core/Path/AliasStorage.php Checks if there are any aliases with language defined.
AliasStorageInterface::aliasExists function core/lib/Drupal/Core/Path/AliasStorageInterface.php Checks if alias already exists.
AliasStorageInterface::languageAliasExists function core/lib/Drupal/Core/Path/AliasStorageInterface.php Checks if there are any aliases with language defined.
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 If the source and destination themes are identical, the region should only
be passed through if it actually exists in the destination theme.
BlockRegionTest::testTransformSameThemeRegionNotExists function core/modules/block/tests/src/Unit/Plugin/migrate/process/BlockRegionTest.php If the source and destination themes are identical, the region should be
changed to 'content' if it doesn't exist in the destination theme.
BreakpointManager::providerExists function core/modules/breakpoint/src/BreakpointManager.php Determines if the provider of a definition exists.
BrowserTestBaseTest::testInvalidLinkExistsExact function core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php Tests linkExistsExact() functionality fail.
BrowserTestBaseTest::testInvalidLinkNotExistsExact function core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php Tests linkNotExistsExact() functionality fail.
BrowserTestBaseTest::testLinkExistsExact function core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php Tests linkExistsExact() functionality.
BrowserTestBaseTest::testLinkNotExistsExact function core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php Tests linkNotExistsExact() functionality.
CachedStorage::exists function core/lib/Drupal/Core/Config/CachedStorage.php Returns whether a configuration object exists.
CacheTestBase::assertCacheExists function core/modules/system/src/Tests/Cache/CacheTestBase.php Asserts that a cache entry 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/src/Tests/Cache/CacheTestBase.php Checks whether or not 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
CKEditorIntegrationTest::assertContextMenuItemExists function core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php Asserts that a context menu item exists by aria-label attribute.
CKEditorIntegrationTest::assertContextMenuItemNotExists function core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php Asserts that a context menu item does not exist by aria-label attribute.
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/src/Tests/CommentTestBase.php Checks current page for specified comment.
CommentTestBase::commentExists function core/modules/comment/tests/src/Functional/CommentTestBase.php Checks current page for specified comment.
ComputedItemListTrait::offsetExists function core/lib/Drupal/Core/TypedData/ComputedItemListTrait.php
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::exists function core/lib/Drupal/Core/Config/Entity/Query/Condition.php Queries for the existence of a field.
Condition::notExists function core/lib/Drupal/Core/Database/Query/Condition.php Sets a condition that the specified subquery returns no values.
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/Entity/Query/Sql/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.
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/Database/Query/ConditionInterface.php Sets a condition that the specified subquery returns values.
ConditionInterface::exists function core/lib/Drupal/Core/Entity/Query/ConditionInterface.php Queries for the existence of a field.
ConditionInterface::notExists function core/lib/Drupal/Core/Database/Query/ConditionInterface.php Sets a condition that the specified subquery returns no values.

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