Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
EntityHandlerBase class core/lib/Drupal/Core/Entity/EntityHandlerBase.php Provides a base class for entity handlers.
EntityHandlerBase.php file core/lib/Drupal/Core/Entity/EntityHandlerBase.php
EntityHandlerBase::$moduleHandler property core/lib/Drupal/Core/Entity/EntityHandlerBase.php The module handler to invoke hooks on.
EntityHandlerBase::moduleHandler function core/lib/Drupal/Core/Entity/EntityHandlerBase.php Gets the module handler.
EntityHandlerBase::setModuleHandler function core/lib/Drupal/Core/Entity/EntityHandlerBase.php Sets the module handler for this handler.
EntityHandlerInterface::createInstance function core/lib/Drupal/Core/Entity/EntityHandlerInterface.php Instantiates a new instance of this entity handler.
EntityHasFieldConstraint class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php Checks if a value is an entity that has a specific field.
EntityHasFieldConstraint.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php
EntityHasFieldConstraint::$field_name property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php The field name option.
EntityHasFieldConstraint::$message property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php The default violation message.
EntityHasFieldConstraint::$notFieldableMessage property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php The violation message for non-fieldable entities.
EntityHasFieldConstraint::getDefaultOption function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php @todo Add method return type declaration.
EntityHasFieldConstraint::getRequiredOptions function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php @todo Add method return type declaration.
EntityHasFieldConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php Validates the EntityHasField constraint.
EntityHasFieldConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php
EntityHasFieldConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraintValidator.php
EntityHasFieldConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php @covers \Drupal\Core\Entity\Plugin\Validation\Constraint\EntityHasFieldConstraintValidator[[api-linebreak]]
EntityHasFieldConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityHasFieldConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php Modules to install.
EntityHasFieldConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityHasFieldConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/EntityHasFieldConstraintValidatorTest.php
EntityImageStyle class core/modules/image/src/Plugin/migrate/destination/EntityImageStyle.php Entity image style destination.
EntityImageStyle.php file core/modules/image/src/Plugin/migrate/destination/EntityImageStyle.php
EntityImageStyle::import function core/modules/image/src/Plugin/migrate/destination/EntityImageStyle.php Import the row.
EntityInterface::enforceIsNew function core/lib/Drupal/Core/Entity/EntityInterface.php Enforces an entity to be new.
EntityInterface::getCacheTagsToInvalidate function core/lib/Drupal/Core/Entity/EntityInterface.php Returns the cache tags that should be used to invalidate caches.
EntityInterface::hasLinkTemplate function core/lib/Drupal/Core/Entity/EntityInterface.php Indicates if a link template exists for a given key.
EntityInterface::isNew function core/lib/Drupal/Core/Entity/EntityInterface.php Determines whether the entity is new.
EntityInterface::postCreate function core/lib/Drupal/Core/Entity/EntityInterface.php Acts on a created entity before hooks are invoked.
EntityInterface::postDelete function core/lib/Drupal/Core/Entity/EntityInterface.php Acts on deleted entities before the delete hook is invoked.
EntityInterface::postLoad function core/lib/Drupal/Core/Entity/EntityInterface.php Acts on loaded entities.
EntityInterface::postSave function core/lib/Drupal/Core/Entity/EntityInterface.php Acts on a saved entity before the insert or update hook is invoked.
EntityInterface::preSave function core/lib/Drupal/Core/Entity/EntityInterface.php Acts on an entity before the presave hook is invoked.
EntityInterface::referencedEntities function core/lib/Drupal/Core/Entity/EntityInterface.php Gets a list of entities referenced by this entity.
EntityInterface::save function core/lib/Drupal/Core/Entity/EntityInterface.php Saves an entity permanently.
EntityInterface::setOriginalId function core/lib/Drupal/Core/Entity/EntityInterface.php Sets the original ID.
EntityInterface::uriRelationships function core/lib/Drupal/Core/Entity/EntityInterface.php Gets a list of URI relationships supported by this entity.
EntityKernelTestBase class core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Defines an abstract test base for entity kernel tests.
EntityKernelTestBase.php file core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php
EntityKernelTestBase::$entityTypeManager property core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php The entity type manager service.
EntityKernelTestBase::$generatedIds property core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php A list of generated identifiers.
EntityKernelTestBase::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Modules to install.
EntityKernelTestBase::$state property core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php The state service.
EntityKernelTestBase::createUser function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Creates a user.
EntityKernelTestBase::generateRandomEntityId function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Generates a random ID avoiding collisions.
EntityKernelTestBase::getHooksInfo function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Returns the entity_test hook invocation info.
EntityKernelTestBase::installModule function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Installs a module and refreshes services.
EntityKernelTestBase::refreshServices function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Refresh services.
EntityKernelTestBase::reloadEntity function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Reloads the given entity from the storage and returns it.
EntityKernelTestBase::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php

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