ModerationHandlerInterface

Defines operations that need to vary by entity type.

Much of the logic contained in this handler is an indication of flaws in the Entity API that are insufficiently standardized between entity types. Hopefully over time functionality can be removed from this interface.

Hierarchy

File

core/modules/content_moderation/src/Entity/Handler/ModerationHandlerInterface.php, line 16

Namespace

Drupal\content_moderation\Entity\Handler

Members

Name Modifiers Type Description
ModerationHandlerInterface::enforceRevisionsBundleFormAlter public function Alters bundle forms to enforce revision handling.
ModerationHandlerInterface::enforceRevisionsEntityFormAlter public function Alters entity forms to enforce revision handling.
ModerationHandlerInterface::onBundleModerationConfigurationFormSubmit public function Operates on the bundle definition that has been marked as moderated.
ModerationHandlerInterface::onPresave public function Operates on moderated content entities preSave().
doc_Drupal
2016-10-29 09:28:31
Comments
Leave a Comment

Please login to continue.