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 |
|
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. |
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 |
@covers ::entityBaseFieldInfo |
EntityTypeInfoTest::testEntityBaseFieldInfo |
function |
core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php |
@covers ::entityBaseFieldInfo |
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::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. |
EntityTypeInterface::getCollectionPermission |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the name of the default collection permission. |
EntityTypeInterface::getConfigDependencyKey |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the key that is used to store configuration dependencies. |
EntityTypeInterface::getConstraints |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets an array of validation constraints. |
EntityTypeInterface::getCountLabel |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the label's definite article form for use with a count of entities. |
EntityTypeInterface::getDataTable |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the name of the entity's data table. |
EntityTypeInterface::getFormClass |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the form class for a specific operation. |
EntityTypeInterface::getGroup |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the machine name of the entity type group. |
EntityTypeInterface::getGroupLabel |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the human-readable name of the entity type group. |
EntityTypeInterface::getHandlerClass |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
|
EntityTypeInterface::getHandlerClasses |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets an array of handlers. |
EntityTypeInterface::getKey |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets a specific entity key. |
EntityTypeInterface::getKeys |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets an array of entity keys. |
EntityTypeInterface::getLabel |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the human-readable name of the entity type. |
EntityTypeInterface::getLinkTemplate |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the link template for a given key. |
EntityTypeInterface::getLinkTemplates |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the link templates using the URI template syntax. |
EntityTypeInterface::getListBuilderClass |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the list class. |
EntityTypeInterface::getListCacheContexts |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
The list cache contexts associated with this entity type. |
EntityTypeInterface::getListCacheTags |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
The list cache tags associated with this entity type. |
EntityTypeInterface::getOriginalClass |
function |
core/lib/Drupal/Core/Entity/EntityTypeInterface.php |
Gets the name of the original entity type class. |