| 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::$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::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::entityBaseFieldInfo |
function |
core/modules/content_moderation/src/EntityTypeInfo.php |
Adds base field info to an entity type. |
| EntityTypeInfo::entityBaseFieldInfo |
function |
core/modules/workspaces/src/Hook/EntityTypeInfo.php |
Implements hook_entity_base_field_info(). |
| 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/Hook/EntityTypeInfo.php |
Implements hook_entity_type_alter(). |
| EntityTypeInfo::entityTypeBuild |
function |
core/modules/workspaces/src/Hook/EntityTypeInfo.php |
Implements hook_entity_type_build(). |
| EntityTypeInfo::fieldInfoAlter |
function |
core/modules/workspaces/src/Hook/EntityTypeInfo.php |
Implements hook_field_info_alter(). |
| 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/Hook/EntityTypeInfo.php |
|
| EntityTypeInfoTest |
class |
core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php |
Tests 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. |
| EntityTypeInfoTest::$entityTypeManager |
property |
core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php |
The entity type manager. |
| EntityTypeInfoTest::$modules |
property |
core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php |
Modules to install. |
| EntityTypeInfoTest::enableModeration |
function |
core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php |
Add moderation to an entity type and bundle. |
| EntityTypeInfoTest::providerTestEntityTypeAlter |
function |
core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php |
Provides test data for testEntityTypeAlter(). |
| EntityTypeInfoTest::setUp |
function |
core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php |
|
| EntityTypeInfoTest::testBaseFieldOnlyAddedToModeratedEntityTypes |
function |
core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php |
Tests base field only added to moderated entity types. |
| EntityTypeInfoTest::testEntityBaseFieldInfo |
function |
core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php |
Tests entity base field info. |
| EntityTypeInfoTest::testEntityBaseFieldProvider |
function |
core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php |
Tests entity base field provider. |
| EntityTypeInfoTest::testEntityTypeAlter |
function |
core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php |
Tests the correct entity types have moderation added. |
| EntityTypeInterface |
interface |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Provides an interface for an entity type and its metadata. |
| EntityTypeInterface.php |
file |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
|
| EntityTypeInterface::addConstraint |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Adds a validation constraint. |
| EntityTypeInterface::BUNDLE_MAX_LENGTH |
constant |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
The maximum length of bundle name, in characters. |
| EntityTypeInterface::entityClassImplements |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Indicates if the entity type class implements the given interface. |
| EntityTypeInterface::get |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets any arbitrary property. |
| EntityTypeInterface::getAccessControlClass |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the access control class. |
| EntityTypeInterface::getAdminPermission |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the name of the default administrative permission. |
| EntityTypeInterface::getBaseTable |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the name of the entity's base table. |
| EntityTypeInterface::getBundleConfigDependency |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the config dependency info for this entity, if any exists. |
| EntityTypeInterface::getBundleEntityType |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the name of the entity type which provides bundles. |
| EntityTypeInterface::getBundleLabel |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the label for the bundle. |
| EntityTypeInterface::getBundleListCacheTags |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
The list cache tags associated with a specific bundle. |
| EntityTypeInterface::getBundleOf |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the entity type ID for which this entity provides bundles. |
| EntityTypeInterface::getCollectionLabel |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the uppercase plural form of the name of the entity type. |