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 10.3.x for exists
  5. Other projects
Title Object type File name Summary
SelectExtender::notExists function core/lib/Drupal/Core/Database/Query/SelectExtender.php Sets a condition that the specified subquery returns no values.
SelectInterface::havingExists function core/lib/Drupal/Core/Database/Query/SelectInterface.php Sets a HAVING condition that the specified subquery returns values.
SelectInterface::havingNotExists function core/lib/Drupal/Core/Database/Query/SelectInterface.php Sets a HAVING condition that the specified subquery returns no values.
SelectSubqueryTest::testExistsSubquerySelect function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests EXISTS subquery conditionals on SELECT statements.
SelectSubqueryTest::testNotExistsSubquerySelect function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests NOT EXISTS subquery conditionals on SELECT statements.
SessionExistsCacheContext class core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php Defines the SessionExistsCacheContext service, for "session or not" caching.
SessionExistsCacheContext.php file core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php
SessionExistsCacheContext::$requestStack property core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php The request stack.
SessionExistsCacheContext::$sessionConfiguration property core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php The session configuration.
SessionExistsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php Gets the cacheability metadata for the context.
SessionExistsCacheContext::getContext function core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php Returns the string representation of the cache context.
SessionExistsCacheContext::getLabel function core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php Returns the label of the cache context.
SessionExistsCacheContext::__construct function core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php Constructs a new SessionExistsCacheContext class.
SessionExistsCacheContextTest class core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php Tests the 'session.exists' cache context service.
SessionExistsCacheContextTest.php file core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php
SessionExistsCacheContextTest::$defaultTheme property core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php The theme to install as the default for testing.
SessionExistsCacheContextTest::$modules property core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php Modules to install.
SessionExistsCacheContextTest::assertSessionCookieOnClient function core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php Asserts whether a session cookie is present on the client or not.
SessionExistsCacheContextTest::testCacheContext function core/modules/system/tests/src/Functional/Cache/SessionExistsCacheContextTest.php Tests \Drupal\Core\Cache\Context\SessionExistsCacheContext::getContext().
SessionExistsCacheContextTestHooks class core/modules/system/tests/modules/session_exists_cache_context_test/src/Hook/SessionExistsCacheContextTestHooks.php Hook implementations for session_exists_cache_context_test.
SessionExistsCacheContextTestHooks.php file core/modules/system/tests/modules/session_exists_cache_context_test/src/Hook/SessionExistsCacheContextTestHooks.php
SessionExistsCacheContextTestHooks::pageTop function core/modules/system/tests/modules/session_exists_cache_context_test/src/Hook/SessionExistsCacheContextTestHooks.php Implements hook_page_top().
SessionHandler::ensureTableExists function core/lib/Drupal/Core/Session/SessionHandler.php Check if the session table exists and create it if not.
session_exists_cache_context_test.info.yml file core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.info.yml core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.info.yml
session_exists_cache_context_test.module file core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.module
session_exists_cache_context_test_page_top function core/modules/system/tests/modules/session_exists_cache_context_test/session_exists_cache_context_test.module Implements hook_page_top().
SharedTempStore::setIfNotExists function core/lib/Drupal/Core/TempStore/SharedTempStore.php Stores a particular key/value pair only if the key doesn't already exist.
SharedTempStoreTest::testSetIfNotExists function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php Tests the setIfNotExists() methods.
SharedTempStoreTest::testSetIfOwnerWhenNotExists function core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php Tests the setIfOwner() method when no key exists.
SortTest::testFileExists function core/tests/Drupal/Tests/PhpCs/SortTest.php Tests that the phpcs.xml.dist file exists.
SortTest::testFileExists function core/tests/Drupal/Tests/CSpell/SortTest.php Tests that the file exists.
StageBase::stageDirectoryExists function core/modules/package_manager/src/StageBase.php Determines if the stage directory exists.
StageBaseTest::testStageDirectoryExists function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php @covers ::stageDirectoryExists
StateFileExistsTest class core/modules/migrate_drupal/tests/src/Kernel/StateFileExistsTest.php Tests that core modules have a migrate_drupal.yml file as needed.
StateFileExistsTest.php file core/modules/migrate_drupal/tests/src/Kernel/StateFileExistsTest.php
StateFileExistsTest::$modules property core/modules/migrate_drupal/tests/src/Kernel/StateFileExistsTest.php
StateFileExistsTest::$stateFileRequired property core/modules/migrate_drupal/tests/src/Kernel/StateFileExistsTest.php Modules that should have a migrate_drupal.yml file.
StateFileExistsTest::testMigrationState function core/modules/migrate_drupal/tests/src/Kernel/StateFileExistsTest.php Tests that the migrate_drupal.yml files exist as needed.
StorageInterface::exists function core/lib/Drupal/Core/Config/StorageInterface.php Returns whether a configuration object exists.
StorageReplaceDataWrapper::exists function core/modules/config/src/StorageReplaceDataWrapper.php Returns whether a configuration object exists.
StorageTestBase::testSetIfNotExists function core/tests/Drupal/KernelTests/Core/KeyValueStore/StorageTestBase.php Tests the setIfNotExists() method.
StringLoader::exists function core/lib/Drupal/Core/Template/Loader/StringLoader.php
StubSchema::indexExists function core/tests/Drupal/Tests/Core/Database/Stub/StubSchema.php Checks if an index exists in the given table.
SwitchShortcutSet::exists function core/modules/shortcut/src/Form/SwitchShortcutSet.php Determines if a shortcut set exists already.
TemporaryArrayObjectThrowingExceptions::offsetExists function core/modules/jsonapi/src/Normalizer/Value/TemporaryArrayObjectThrowingExceptions.php Returns whether the requested index exists.
TestDrupal6SqlBase::moduleExistsWrapper function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Wrapper method to test protected method moduleExists().
TestLoader::exists function core/modules/system/tests/modules/twig_loader_test/src/Loader/TestLoader.php
ThemeHandler::themeExists function core/lib/Drupal/Core/Extension/ThemeHandler.php Determines whether a given theme is installed.
ThemeHandlerInterface::themeExists function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Determines whether a given theme is installed.
ThemeRegistryLoaderTest::testLoaderReturnsFalseForExistsOnNonexistent function core/tests/Drupal/Tests/Core/Template/Loader/ThemeRegistryLoaderTest.php @covers ::findTemplate

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