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
EntityBundleExistsConstraintValidatorTest::testEntityTypeIdFromMultipleParents function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests getting the entity type ID from a deeply nested property path.
EntityBundleExistsConstraintValidatorTest::testEntityTypeIdIsStatic function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests validating a bundle of a known (static) entity type ID.
EntityBundleExistsConstraintValidatorTest::testInvalidEntityTypeId function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests when the constraint's entityTypeId value is not valid.
EntityBundleExistsConstraintValidatorTest::testValueMustBeAString function core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php Tests that the constraint validator will only work with strings.
EntityCloneConfigActionTest::testFailIfEntityExists function core/tests/Drupal/KernelTests/Core/Recipe/EntityCloneConfigActionTest.php Tests that the action can be configured to fail if the clone exists.
EntityDisplayModeFormBase::exists function core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php Determines if the display mode already exists.
EntityExists class core/modules/migrate/src/Plugin/migrate/process/EntityExists.php This plugin checks if a given entity exists.
EntityExists.php file core/modules/migrate/src/Plugin/migrate/process/EntityExists.php
EntityExists::$storage property core/modules/migrate/src/Plugin/migrate/process/EntityExists.php The entity storage.
EntityExists::create function core/modules/migrate/src/Plugin/migrate/process/EntityExists.php Creates an instance of the plugin.
EntityExists::transform function core/modules/migrate/src/Plugin/migrate/process/EntityExists.php Performs the associated process.
EntityExists::__construct function core/modules/migrate/src/Plugin/migrate/process/EntityExists.php EntityExists constructor.
EntityExistsTest class core/modules/migrate/tests/src/Kernel/Plugin/EntityExistsTest.php Tests the EntityExists process plugin.
EntityExistsTest.php file core/modules/migrate/tests/src/Kernel/Plugin/EntityExistsTest.php
EntityExistsTest::$modules property core/modules/migrate/tests/src/Kernel/Plugin/EntityExistsTest.php Modules to install.
EntityExistsTest::setUp function core/modules/migrate/tests/src/Kernel/Plugin/EntityExistsTest.php
EntityExistsTest::testEntityExists function core/modules/migrate/tests/src/Kernel/Plugin/EntityExistsTest.php Tests the EntityExists plugin.
EntityResource::entityExists function core/modules/jsonapi/src/Controller/EntityResource.php Checks if the given entity exists.
Exists.php file core/lib/Drupal/Core/Config/Action/Exists.php
ExtensionExistsConstraint class core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php Checks that the value is the name of an installed extension.
ExtensionExistsConstraint.php file core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php
ExtensionExistsConstraint::$moduleMessage property core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php The error message for a non-existent module.
ExtensionExistsConstraint::$themeMessage property core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php The error message for a non-existent theme.
ExtensionExistsConstraint::$type property core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php The type of extension to look for. Can be 'module' or 'theme'.
ExtensionExistsConstraint::getDefaultOption function core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php
ExtensionExistsConstraint::getRequiredOptions function core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraint.php
ExtensionExistsConstraintValidator class core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php Validates that a given extension exists.
ExtensionExistsConstraintValidator.php file core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php
ExtensionExistsConstraintValidator::$moduleHandler property core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php The module handler service.
ExtensionExistsConstraintValidator::$themeHandler property core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php The theme handler service.
ExtensionExistsConstraintValidator::create function core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php Instantiates a new instance of this class.
ExtensionExistsConstraintValidator::validate function core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php
ExtensionExistsConstraintValidator::__construct function core/lib/Drupal/Core/Extension/Plugin/Validation/Constraint/ExtensionExistsConstraintValidator.php Constructs a ExtensionExistsConstraintValidator object.
ExtensionExistsConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Extension/ExtensionExistsConstraintValidatorTest.php Tests the ExtensionExists constraint validator.
ExtensionExistsConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Extension/ExtensionExistsConstraintValidatorTest.php
ExtensionExistsConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Extension/ExtensionExistsConstraintValidatorTest.php Modules to install.
ExtensionExistsConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Extension/ExtensionExistsConstraintValidatorTest.php Tests the ExtensionExists constraint validator.
ExtensionList::exists function core/lib/Drupal/Core/Extension/ExtensionList.php Determines if an extension exists in the filesystem.
FailureMarker::assertNotExists function core/modules/package_manager/src/FailureMarker.php Asserts the failure file doesn't exist.
FailureMarkerRequirementTest::testFailureMarkerExists function core/modules/package_manager/tests/src/Functional/FailureMarkerRequirementTest.php Tests that error is shown if failure marker already exists.
FailureMarkerTest::testAssertNotExists function core/modules/package_manager/tests/src/Kernel/FailureMarkerTest.php Tests that the failure marker can contain an exception message.
FieldStorageAddForm::fieldNameExists function core/modules/field_ui/src/Form/FieldStorageAddForm.php Checks if a field machine name is taken.
FieldUiTestTrait::assertFieldExistsOnOverview function core/modules/field_ui/tests/src/Traits/FieldUiTestTrait.php Asserts that the field appears on the overview form.
FieldUiTestTrait::assertTableHeaderExistsByLabel function core/modules/field_ui/tests/src/Traits/FieldUiTestTrait.php Asserts that a header cell appears on a table.
FileExists.php file core/lib/Drupal/Core/File/FileExists.php
FileExistsException class core/lib/Drupal/Core/File/Exception/FileExistsException.php Exception thrown when a file unexpectedly exists.
FileExistsException.php file core/lib/Drupal/Core/File/Exception/FileExistsException.php
FileFieldTestBase::assertFileEntryExists function core/modules/file/tests/src/Functional/FileFieldTestBase.php Asserts that a file exists in the database.
FileFieldTestBase::assertFileEntryNotExists function core/modules/file/tests/src/Functional/FileFieldTestBase.php Asserts that a file does not exist in the database.
FileNotExistsException class core/lib/Drupal/Core/File/Exception/FileNotExistsException.php Exception thrown when a file is expected to exist but does not.

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