Search for exists

  1. Search 7.x for exists
  2. Search 8.9.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
QueryInterface::notExists function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Queries for an empty field.
ReadOnlyStorage::exists function core/lib/Drupal/Core/Config/ReadOnlyStorage.php Returns whether a configuration object exists.
ReflectionTest::existsForTesting function core/tests/Drupal/Tests/Component/Utility/ReflectionTest.php
RegressionTest::testDBFieldExists function core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php Tests the \Drupal\Core\Database\Schema::fieldExists() method.
RegressionTest::testDBIndexExists function core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php Tests the Schema::indexExists() method.
RegressionTest::testDBTableExists function core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php Tests the Schema::tableExists() method.
Schema::constraintExists function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Helper function: check if a constraint (PK, FK, UK) exists.
Schema::extensionExists function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Determines whether the PostgreSQL extension is created.
Schema::fieldExists function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Check if a column exists in the given table.
Schema::fieldExists function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Check if a column exists in the given table.
Schema::fieldExists function core/lib/Drupal/Core/Database/Schema.php Check if a column exists in the given table.
Schema::indexExists function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Checks if an index exists in the given table.
Schema::indexExists function core/modules/mysql/src/Driver/Database/mysql/Schema.php Checks if an index exists in the given table.
Schema::indexExists function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Checks if an index exists in the given table.
Schema::indexExists function core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Schema.php Checks if an index exists in the given table.
Schema::indexExists function core/lib/Drupal/Core/Database/Schema.php Checks if an index exists in the given table.
Schema::tableExists function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Check if a table exists.
Schema::tableExists function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Check if a table exists.
Schema::tableExists function core/lib/Drupal/Core/Database/Schema.php Check if a table exists.
SchemaObjectExistsException class core/lib/Drupal/Core/Database/SchemaObjectExistsException.php Exception thrown if an object being created already exists.
SchemaObjectExistsException.php file core/lib/Drupal/Core/Database/SchemaObjectExistsException.php
SchemaTest::testPgsqlExtensionExists function core/modules/pgsql/tests/src/Kernel/pgsql/SchemaTest.php @covers \Drupal\Core\Database\Driver\pgsql\Schema::extensionExists
SearchPageFormBase::exists function core/modules/search/src/Form/SearchPageFormBase.php Determines if the search page entity already exists.
Select::havingExists function core/lib/Drupal/Core/Database/Query/Select.php Sets a HAVING condition that the specified subquery returns values.
Select::havingNotExists function core/lib/Drupal/Core/Database/Query/Select.php Sets a HAVING condition that the specified subquery returns no values.
SelectExtender::exists function core/lib/Drupal/Core/Database/Query/SelectExtender.php Sets a condition that the specified subquery returns values.
SelectExtender::havingExists function core/lib/Drupal/Core/Database/Query/SelectExtender.php Sets a HAVING condition that the specified subquery returns values.
SelectExtender::havingNotExists function core/lib/Drupal/Core/Database/Query/SelectExtender.php Sets a HAVING condition that the specified subquery returns no values.
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 enable.
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().
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 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().

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