Interface for moderation_information service.
Hierarchy
- interface \Drupal\content_moderation\ModerationInformationInterface
File
- core/modules/content_moderation/src/ModerationInformationInterface.php, line 12
Namespace
Drupal\content_moderation
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ModerationInformationInterface::canModerateEntitiesOfEntityType | public | function | Determines if an entity type can have moderated entities. |
ModerationInformationInterface::getDefaultRevisionId | public | function | Returns the revision ID of the default revision for the specified entity. |
ModerationInformationInterface::getLatestRevision | public | function | Loads the latest revision of a specific entity. |
ModerationInformationInterface::getLatestRevisionId | public | function | Returns the revision ID of the latest revision of the given entity. |
ModerationInformationInterface::hasForwardRevision | public | function | Determines if a forward revision exists for the specified entity. |
ModerationInformationInterface::isLatestRevision | public | function | Determines if an entity is a latest revision. |
ModerationInformationInterface::isLiveRevision | public | function | Determines if an entity is "live". |
ModerationInformationInterface::isModeratedEntity | public | function | Determines if an entity is moderated. |
ModerationInformationInterface::shouldModerateEntitiesOfBundle | public | function | Determines if an entity type/bundle entities should be moderated. |
Please login to continue.