Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| EntityTypeInfo::$moderationHandlers | property | core/ |
A keyed array of custom moderation handlers for given entity types. |
| EntityTypeInfo::$moderationInfo | property | core/ |
The moderation information service. |
| EntityTypeInfo::$validator | property | core/ |
The state transition validation service. |
| EntityTypeInfo::$workspaceManager | property | core/ |
The workspace manager service. |
| EntityTypeInfo::addModerationToEntityType | function | core/ |
Modifies an entity definition to include moderation support. |
| EntityTypeInfo::bundleFormRedirect | function | core/ |
Redirect content entity edit forms on save, if there is a pending revision. |
| EntityTypeInfo::create | function | core/ |
Instantiates a new instance of this class. |
| EntityTypeInfo::create | function | core/ |
Instantiates a new instance of this class. |
| EntityTypeInfo::entityBaseFieldInfo | function | core/ |
Provides custom base field definitions for a content entity type. |
| EntityTypeInfo::entityBaseFieldInfo | function | core/ |
Adds base field info to an entity type. |
| EntityTypeInfo::entityExtraFieldInfo | function | core/ |
Gets the "extra fields" for a bundle. |
| EntityTypeInfo::entityPrepareForm | function | core/ |
Replaces the entity form entity object with a proper revision object. |
| EntityTypeInfo::entityTypeAlter | function | core/ |
Adds Moderation configuration to appropriate entity types. |
| EntityTypeInfo::entityTypeAlter | function | core/ |
Removes the 'latest-version' link template provided by Content Moderation. |
| EntityTypeInfo::entityTypeBuild | function | core/ |
Adds the "EntityWorkspaceConflict" constraint to eligible entity types. |
| EntityTypeInfo::fieldInfoAlter | function | core/ |
Alters field plugin definitions. |
| EntityTypeInfo::formAlter | function | core/ |
Alters bundle forms to enforce revision handling. |
| EntityTypeInfo::getModeratedBundles | function | core/ |
Returns an iterable list of entity names and bundle names under moderation. |
| EntityTypeInfo::isModeratedEntityEditForm | function | core/ |
Checks whether the specified form allows to edit a moderated entity. |
| EntityTypeInfo::__construct | function | core/ |
EntityTypeInfo constructor. |
| EntityTypeInfo::__construct | function | core/ |
Constructs a new EntityTypeInfo instance. |
| EntityTypeInfoTest | class | core/ |
@coversDefaultClass \Drupal\content_moderation\EntityTypeInfo[[api-linebreak]] |
| EntityTypeInfoTest.php | file | core/ |
|
| EntityTypeInfoTest::$entityFieldManager | property | core/ |
The entity field manager. |
| EntityTypeInfoTest::$entityTypeInfo | property | core/ |
The entity type info class. |
| EntityTypeInfoTest::$entityTypeManager | property | core/ |
The entity type manager. |
| EntityTypeInfoTest::$modules | property | core/ |
Modules to enable. |
| EntityTypeInfoTest::enableModeration | function | core/ |
Add moderation to an entity type and bundle. |
| EntityTypeInfoTest::providerTestEntityTypeAlter | function | core/ |
Provides test data for testEntityTypeAlter(). |
| EntityTypeInfoTest::setUp | function | core/ |
|
| EntityTypeInfoTest::testBaseFieldOnlyAddedToModeratedEntityTypes | function | core/ |
@covers ::entityBaseFieldInfo[[api-linebreak]] |
| EntityTypeInfoTest::testEntityBaseFieldInfo | function | core/ |
@covers ::entityBaseFieldInfo[[api-linebreak]] |
| EntityTypeInfoTest::testEntityBaseFieldProvider | function | core/ |
Test entity base field provider. |
| EntityTypeInfoTest::testEntityTypeAlter | function | core/ |
Test the correct entity types have moderation added. |
| EntityTypeInterface | interface | core/ |
Provides an interface for an entity type and its metadata. |
| EntityTypeInterface.php | file | core/ |
|
| EntityTypeInterface::addConstraint | function | core/ |
Adds a validation constraint. |
| EntityTypeInterface::BUNDLE_MAX_LENGTH | constant | core/ |
The maximum length of bundle name, in characters. |
| EntityTypeInterface::entityClassImplements | function | core/ |
Indicates if the entity type class implements the given interface. |
| EntityTypeInterface::get | function | core/ |
Gets any arbitrary property. |
| EntityTypeInterface::getAccessControlClass | function | core/ |
Gets the access control class. |
| EntityTypeInterface::getAdminPermission | function | core/ |
Gets the name of the default administrative permission. |
| EntityTypeInterface::getBaseTable | function | core/ |
Gets the name of the entity's base table. |
| EntityTypeInterface::getBundleConfigDependency | function | core/ |
Gets the config dependency info for this entity, if any exists. |
| EntityTypeInterface::getBundleEntityType | function | core/ |
Gets the name of the entity type which provides bundles. |
| EntityTypeInterface::getBundleLabel | function | core/ |
Gets the label for the bundle. |
| EntityTypeInterface::getBundleOf | function | core/ |
Gets the entity type for which this entity provides bundles. |
| EntityTypeInterface::getCollectionLabel | function | core/ |
Gets the uppercase plural form of the name of the entity type. |
| EntityTypeInterface::getConfigDependencyKey | function | core/ |
Gets the key that is used to store configuration dependencies. |
| EntityTypeInterface::getConstraints | function | core/ |
Gets an array of validation constraints. |
Pagination
- Previous page
- Page 525
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.