| 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 |
interface |
core/lib/Drupal/Core/Entity/EntityHandlerInterface.php |
Defines an interface for entity handlers. |
| EntityHandlerInterface.php |
file |
core/lib/Drupal/Core/Entity/EntityHandlerInterface.php |
|
| 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 |
|
| EntityHasFieldConstraint::getRequiredOptions |
function |
core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityHasFieldConstraint.php |
|
| 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 |
Tests Entity Has Field Constraint Validator. |
| 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 |
Tests validation of an entity with a field. |
| 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 |
interface |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Defines a common interface for all entity objects. |
| EntityInterface.php |
file |
core/lib/Drupal/Core/Entity/EntityInterface.php |
|
| EntityInterface::bundle |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the bundle of the entity. |
| EntityInterface::create |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Constructs a new entity object, without permanently saving it. |
| EntityInterface::createDuplicate |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Creates a duplicate of the entity. |
| EntityInterface::delete |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Deletes an entity permanently. |
| 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::getConfigDependencyKey |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the key that is used to store configuration dependencies. |
| EntityInterface::getConfigDependencyName |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the configuration dependency name. |
| EntityInterface::getConfigTarget |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the configuration target identifier for the entity. |
| EntityInterface::getEntityType |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the entity type definition. |
| EntityInterface::getEntityTypeId |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the ID of the type of the entity. |
| EntityInterface::getOriginal |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Returns the original unchanged entity. |
| EntityInterface::getOriginalId |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the original ID. |
| EntityInterface::getTypedData |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets a typed data object for this entity object. |
| EntityInterface::hasLinkTemplate |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Indicates if a link template exists for a given key. |
| EntityInterface::id |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the identifier. |
| EntityInterface::isNew |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Determines whether the entity is new. |
| EntityInterface::label |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the label of the entity. |
| EntityInterface::language |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Gets the language of the entity. |
| EntityInterface::load |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Loads an entity. |
| EntityInterface::loadMultiple |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Loads one or more entities. |
| EntityInterface::postCreate |
function |
core/lib/Drupal/Core/Entity/EntityInterface.php |
Acts on a created entity before hooks are invoked. |