function ModerationHandler::enforceRevisionsEntityFormAlter
Same name in other branches
- 8.9.x core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php \Drupal\content_moderation\Entity\Handler\ModerationHandler::enforceRevisionsEntityFormAlter()
- 10 core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php \Drupal\content_moderation\Entity\Handler\ModerationHandler::enforceRevisionsEntityFormAlter()
- 11.x core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php \Drupal\content_moderation\Entity\Handler\ModerationHandler::enforceRevisionsEntityFormAlter()
Overrides ModerationHandlerInterface::enforceRevisionsEntityFormAlter
2 methods override ModerationHandler::enforceRevisionsEntityFormAlter()
- BlockContentModerationHandler::enforceRevisionsEntityFormAlter in core/
modules/ content_moderation/ src/ Entity/ Handler/ BlockContentModerationHandler.php - Alters entity forms to enforce revision handling.
- NodeModerationHandler::enforceRevisionsEntityFormAlter in core/
modules/ content_moderation/ src/ Entity/ Handler/ NodeModerationHandler.php - Alters entity forms to enforce revision handling.
File
-
core/
modules/ content_moderation/ src/ Entity/ Handler/ ModerationHandler.php, line 62
Class
- ModerationHandler
- Common customizations for most/all entities.
Namespace
Drupal\content_moderation\Entity\HandlerCode
public function enforceRevisionsEntityFormAlter(array &$form, FormStateInterface $form_state, $form_id) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.