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
ConfigExistsConstraintValidator::$configFactory property core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php The config factory service.
ConfigExistsConstraintValidator::create function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php Instantiates a new instance of this class.
ConfigExistsConstraintValidator::validate function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php
ConfigExistsConstraintValidator::__construct function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php Constructs a ConfigExistsConstraintValidator object.
ConfigExistsConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Config/ConfigExistsConstraintValidatorTest.php Tests the ConfigExists constraint validator.
ConfigExistsConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Config/ConfigExistsConstraintValidatorTest.php
ConfigExistsConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Config/ConfigExistsConstraintValidatorTest.php Modules to enable.
ConfigExistsConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Config/ConfigExistsConstraintValidatorTest.php Tests the ConfigExists constraint validator.
ConfigSingleImportForm::$configExists property core/modules/config/src/Form/ConfigSingleImportForm.php If the config exists, this is that object. Otherwise, FALSE.
ConfigTestForm::exists function core/modules/config/tests/config_test/src/ConfigTestForm.php Determines if the entity already exists.
ContentImportTest::providerImportEntityThatAlreadyExists function core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php
ContentImportTest::testImportEntityThatAlreadyExists function core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php @dataProvider providerImportEntityThatAlreadyExists
DatabaseBackend::ensureBinExists function core/lib/Drupal/Core/Cache/DatabaseBackend.php Check if the cache bin exists and create it if not.
DatabaseBackend::ensureTableExists function core/lib/Drupal/Core/Flood/DatabaseBackend.php Check if the flood table exists and create it if not.
DatabaseCacheTagsChecksum::ensureTableExists function core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Check if the cache tags table exists and create it if not.
DatabaseLockBackend::ensureTableExists function core/lib/Drupal/Core/Lock/DatabaseLockBackend.php Check if the semaphore table exists and create it if not.
DatabaseQueue::ensureTableExists function core/lib/Drupal/Core/Queue/DatabaseQueue.php Check if the table exists and create it if not.
DatabaseStorage::doSetIfNotExists function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Saves a value for a given key if it does not exist yet.
DatabaseStorage::ensureTableExists function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Check if the table exists and create it if not.
DatabaseStorage::ensureTableExists function core/lib/Drupal/Core/Config/DatabaseStorage.php Check if the config table exists and create it if not.
DatabaseStorage::exists function core/lib/Drupal/Core/Config/DatabaseStorage.php Returns whether a configuration object exists.
DatabaseStorage::setIfNotExists function core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php Saves a value for a given key if it does not exist yet.
DatabaseStorageExpirable::doSetWithExpireIfNotExists function core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php Sets a value for a given key with a time to live if it does not yet exist.
DatabaseStorageExpirable::setWithExpireIfNotExists function core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php Sets a value for a given key with a time to live if it does not yet exist.
DataDefinition::offsetExists function core/lib/Drupal/Core/TypedData/DataDefinition.php This is for BC support only.
@todo Remove in https://www.drupal.org/node/1928868.
DateFormatFormBase::exists function core/modules/system/src/Form/DateFormatFormBase.php Checks for an existing date format.
DefaultPluginManager::providerExists function core/lib/Drupal/Core/Plugin/DefaultPluginManager.php Determines if the provider of a definition exists.
DefaultPluginManagerTest::testProviderExists function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php @covers ::findDefinitions
@covers ::extractProviderFromDefinition
DeprecatedArray::offsetExists function core/lib/Drupal/Component/Utility/DeprecatedArray.php
DocParser::$classExists property core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php This hashmap is used internally to cache results of class_exists()
look-ups.
DocParser::classExists function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Attempts to check if a class exists or not. This never goes through the PHP autoloading mechanism
but uses the {@link AnnotationRegistry} to load classes.
Drupal6SqlBaseTest::testDrupal6ModuleExists function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Tests for Drupal6SqlBase::moduleExists().
DrupalSqlBase::moduleExists function core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php Checks if a given module is enabled in the source Drupal database.
EntityBundleExistsConstraint class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraint.php Checks if a bundle exists on a certain content entity type.
EntityBundleExistsConstraint.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraint.php
EntityBundleExistsConstraint::$entityTypeId property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraint.php The entity type ID which should have the given bundle.
EntityBundleExistsConstraint::$message property core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraint.php The error message if validation fails.
EntityBundleExistsConstraint::getDefaultOption function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraint.php
EntityBundleExistsConstraint::getRequiredOptions function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraint.php
EntityBundleExistsConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php Validates that a bundle exists on a certain content entity type.
EntityBundleExistsConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php
EntityBundleExistsConstraintValidator::create function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php Instantiates a new instance of this class.
EntityBundleExistsConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php
EntityBundleExistsConstraintValidator::__construct function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/EntityBundleExistsConstraintValidator.php Constructs an EntityBundleExistsConstraintValidator object.
EntityBundleExistsConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php @group Entity
@group Validation
EntityBundleExistsConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php
EntityBundleExistsConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Modules to enable.
EntityBundleExistsConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php
EntityBundleExistsConstraintValidatorTest::testDynamicEntityType function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests getting the entity type ID.
EntityBundleExistsConstraintValidatorTest::testEntityTypeIdFromMultipleParents function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests getting the entity type ID from a deeply nested property path.

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