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
MTimeProtectedFileStorage::exists function core/lib/Drupal/Component/PhpStorage/MTimeProtectedFileStorage.php Checks whether the PHP code exists in storage.
NegotiatorBase::ensureVersionExists function core/modules/jsonapi/src/Revisions/NegotiatorBase.php Helper method that ensures that a version exists.
NestedArray::keyExists function core/lib/Drupal/Component/Utility/NestedArray.php Determines whether a nested array contains the requested keys.
NestedArrayTest::testKeyExists function core/tests/Drupal/Tests/Component/Utility/NestedArrayTest.php Tests existence of array key.
NullStorage::exists function core/lib/Drupal/Core/Config/NullStorage.php Returns whether a configuration object exists.
NullStorageExpirable::setIfNotExists function core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php Saves a value for a given key if it does not exist yet.
NullStorageExpirable::setWithExpireIfNotExists function core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php Sets a value for a given key with a time to live if it does not yet exist.
PathAliasTestTrait::assertPathAliasExists function core/tests/Drupal/Tests/Traits/Core/PathAliasTestTrait.php Asserts that a path alias exists in the storage.
PathAliasTestTrait::assertPathAliasNotExists function core/tests/Drupal/Tests/Traits/Core/PathAliasTestTrait.php Asserts that a path alias does not exist in the storage.
PhpStorageInterface::exists function core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php Checks whether the PHP code exists in storage.
ProviderFilterDecorator::$providerExists property core/modules/migrate/src/Plugin/Discovery/ProviderFilterDecorator.php A callable for testing if a provider exists.
Query::existsAggregate function core/lib/Drupal/Core/Entity/Query/Null/Query.php Queries for the existence of a field.
Query::notExistsAggregate function core/lib/Drupal/Core/Entity/Query/Null/Query.php Queries for the nonexistence of a field.
QueryAggregate::existsAggregate function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Queries for the existence of a field.
QueryAggregate::notExistsAggregate function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Queries for the nonexistence of a field.
QueryAggregateInterface::existsAggregate function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Queries for the existence of a field.
QueryAggregateInterface::notExistsAggregate function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Queries for the nonexistence of a field.
QueryBase::exists function core/lib/Drupal/Core/Entity/Query/QueryBase.php Queries for a non-empty value on a field.
QueryBase::notExists function core/lib/Drupal/Core/Entity/Query/QueryBase.php Queries for an empty field.
QueryConditionTrait::exists function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryConditionTrait::notExists function core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php
QueryInterface::exists function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Queries for a non-empty value on a field.
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.
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/lib/Drupal/Core/Database/Driver/pgsql/Schema.php Helper function: check if a constraint (PK, FK, UK) exists.
Schema::fieldExists function core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php Check if a column exists in the given table.
Schema::fieldExists function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Check if a column exists in the given table.
Schema::fieldExists function core/lib/Drupal/Core/Database/Driver/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/lib/Drupal/Core/Database/Driver/sqlite/Schema.php Checks if an index exists in the given table.
Schema::indexExists function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Checks if an index exists in the given table.
Schema::indexExists function core/lib/Drupal/Core/Database/Driver/pgsql/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/lib/Drupal/Core/Database/Driver/sqlite/Schema.php Check if a table exists.
Schema::tableExists function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Check if a table exists.
Schema::tableExists function core/lib/Drupal/Core/Database/Driver/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
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.

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