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
- interface \Drupal\content_moderation\Entity\Handler\ModerationHandlerInterface
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(). |
Please login to continue.