function ModerationHandler::enforceRevisionsBundleFormAlter

Same name and namespace in other branches
  1. 9 core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php \Drupal\content_moderation\Entity\Handler\ModerationHandler::enforceRevisionsBundleFormAlter()
  2. 10 core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php \Drupal\content_moderation\Entity\Handler\ModerationHandler::enforceRevisionsBundleFormAlter()
  3. 11.x core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php \Drupal\content_moderation\Entity\Handler\ModerationHandler::enforceRevisionsBundleFormAlter()

Overrides ModerationHandlerInterface::enforceRevisionsBundleFormAlter

2 methods override ModerationHandler::enforceRevisionsBundleFormAlter()
BlockContentModerationHandler::enforceRevisionsBundleFormAlter in core/modules/content_moderation/src/Entity/Handler/BlockContentModerationHandler.php
Alters bundle forms to enforce revision handling.
NodeModerationHandler::enforceRevisionsBundleFormAlter in core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php
Alters bundle forms to enforce revision handling.

File

core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php, line 60

Class

ModerationHandler
Common customizations for most/all entities.

Namespace

Drupal\content_moderation\Entity\Handler

Code

public function enforceRevisionsBundleFormAlter(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.