EntityTypeEvent::__construct |
function |
core/lib/Drupal/Core/Entity/EntityTypeEvent.php |
Constructs a new EntityTypeEvent. |
EntityTypeEvents |
class |
core/lib/Drupal/Core/Entity/EntityTypeEvents.php |
Contains all events thrown while handling entity types. |
EntityTypeEvents.php |
file |
core/lib/Drupal/Core/Entity/EntityTypeEvents.php |
|
EntityTypeEvents::CREATE |
constant |
core/lib/Drupal/Core/Entity/EntityTypeEvents.php |
The name of the event triggered when a new entity type is created. |
EntityTypeEvents::DELETE |
constant |
core/lib/Drupal/Core/Entity/EntityTypeEvents.php |
The name of the event triggered when an existing entity type is deleted. |
EntityTypeEvents::UPDATE |
constant |
core/lib/Drupal/Core/Entity/EntityTypeEvents.php |
The name of the event triggered when an existing entity type is updated. |
EntityTypeEventSubscriberTrait |
trait |
core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php |
Helper methods for EntityTypeListenerInterface. |
EntityTypeEventSubscriberTrait.php |
file |
core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php |
|
EntityTypeEventSubscriberTrait::getEntityTypeEvents |
function |
core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php |
Gets the subscribed events. |
EntityTypeEventSubscriberTrait::onEntityTypeCreate |
function |
core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php |
|
EntityTypeEventSubscriberTrait::onEntityTypeDelete |
function |
core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php |
|
EntityTypeEventSubscriberTrait::onEntityTypeEvent |
function |
core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php |
Listener method for any entity type definition event. |
EntityTypeEventSubscriberTrait::onEntityTypeUpdate |
function |
core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php |
|
EntityTypeEventSubscriberTrait::onFieldableEntityTypeCreate |
function |
core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php |
|
EntityTypeEventSubscriberTrait::onFieldableEntityTypeUpdate |
function |
core/lib/Drupal/Core/Entity/EntityTypeEventSubscriberTrait.php |
|
EntityTypeIdLengthException |
class |
core/lib/Drupal/Core/Entity/Exception/EntityTypeIdLengthException.php |
Defines an exception thrown when an entity ID is too long. |
EntityTypeIdLengthException.php |
file |
core/lib/Drupal/Core/Entity/Exception/EntityTypeIdLengthException.php |
|
EntityTypeInfo |
class |
core/modules/content_moderation/src/EntityTypeInfo.php |
Manipulates entity type information. |
EntityTypeInfo |
class |
core/modules/workspaces/src/EntityTypeInfo.php |
Manipulates entity type information. |
EntityTypeInfo.php |
file |
core/modules/content_moderation/src/EntityTypeInfo.php |
|
EntityTypeInfo.php |
file |
core/modules/workspaces/src/EntityTypeInfo.php |
|
EntityTypeInfo::$bundleInfo |
property |
core/modules/content_moderation/src/EntityTypeInfo.php |
The bundle information service. |
EntityTypeInfo::$currentUser |
property |
core/modules/content_moderation/src/EntityTypeInfo.php |
The current user. |
EntityTypeInfo::$entityTypeManager |
property |
core/modules/content_moderation/src/EntityTypeInfo.php |
The entity type manager. |
EntityTypeInfo::$entityTypeManager |
property |
core/modules/workspaces/src/EntityTypeInfo.php |
The entity type manager service. |
EntityTypeInfo::$moderationHandlers |
property |
core/modules/content_moderation/src/EntityTypeInfo.php |
A keyed array of custom moderation handlers for given entity types. |
EntityTypeInfo::$moderationInfo |
property |
core/modules/content_moderation/src/EntityTypeInfo.php |
The moderation information service. |
EntityTypeInfo::$validator |
property |
core/modules/content_moderation/src/EntityTypeInfo.php |
The state transition validation service. |
EntityTypeInfo::$workspaceManager |
property |
core/modules/workspaces/src/EntityTypeInfo.php |
The workspace manager service. |
EntityTypeInfo::addModerationToEntityType |
function |
core/modules/content_moderation/src/EntityTypeInfo.php |
Modifies an entity definition to include moderation support. |
EntityTypeInfo::bundleFormRedirect |
function |
core/modules/content_moderation/src/EntityTypeInfo.php |
Redirect content entity edit forms on save, if there is a pending revision. |
EntityTypeInfo::create |
function |
core/modules/content_moderation/src/EntityTypeInfo.php |
Instantiates a new instance of this class. |
EntityTypeInfo::create |
function |
core/modules/workspaces/src/EntityTypeInfo.php |
Instantiates a new instance of this class. |
EntityTypeInfo::entityBaseFieldInfo |
function |
core/modules/content_moderation/src/EntityTypeInfo.php |
Adds base field info to an entity type. |
EntityTypeInfo::entityBaseFieldInfo |
function |
core/modules/workspaces/src/EntityTypeInfo.php |
Provides custom base field definitions for a content entity type. |
EntityTypeInfo::entityExtraFieldInfo |
function |
core/modules/content_moderation/src/EntityTypeInfo.php |
Gets the "extra fields" for a bundle. |
EntityTypeInfo::entityPrepareForm |
function |
core/modules/content_moderation/src/EntityTypeInfo.php |
Replaces the entity form entity object with a proper revision object. |
EntityTypeInfo::entityTypeAlter |
function |
core/modules/content_moderation/src/EntityTypeInfo.php |
Adds Moderation configuration to appropriate entity types. |
EntityTypeInfo::entityTypeAlter |
function |
core/modules/workspaces/src/EntityTypeInfo.php |
Removes the 'latest-version' link template provided by Content Moderation. |
EntityTypeInfo::entityTypeBuild |
function |
core/modules/workspaces/src/EntityTypeInfo.php |
Adds the "EntityWorkspaceConflict" constraint to eligible entity types. |
EntityTypeInfo::fieldInfoAlter |
function |
core/modules/workspaces/src/EntityTypeInfo.php |
Alters field plugin definitions. |
EntityTypeInfo::formAlter |
function |
core/modules/content_moderation/src/EntityTypeInfo.php |
Alters bundle forms to enforce revision handling. |
EntityTypeInfo::getModeratedBundles |
function |
core/modules/content_moderation/src/EntityTypeInfo.php |
Returns an iterable list of entity names and bundle names under moderation. |
EntityTypeInfo::isModeratedEntityEditForm |
function |
core/modules/content_moderation/src/EntityTypeInfo.php |
Checks whether the specified form allows to edit a moderated entity. |
EntityTypeInfo::__construct |
function |
core/modules/content_moderation/src/EntityTypeInfo.php |
EntityTypeInfo constructor. |
EntityTypeInfo::__construct |
function |
core/modules/workspaces/src/EntityTypeInfo.php |
Constructs a new EntityTypeInfo instance. |
EntityTypeInfoTest |
class |
core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php |
@coversDefaultClass \Drupal\content_moderation\EntityTypeInfo |
EntityTypeInfoTest.php |
file |
core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php |
|
EntityTypeInfoTest::$entityFieldManager |
property |
core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php |
The entity field manager. |
EntityTypeInfoTest::$entityTypeInfo |
property |
core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php |
The entity type info class. |