ModerationInformationInterface

Interface for moderation_information service.

Hierarchy

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.
doc_Drupal
2016-10-29 09:28:34
Comments
Leave a Comment

Please login to continue.