function NodeModerationHandler::__construct
Same name in other branches
- 9 core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php \Drupal\content_moderation\Entity\Handler\NodeModerationHandler::__construct()
- 10 core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php \Drupal\content_moderation\Entity\Handler\NodeModerationHandler::__construct()
- 11.x core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php \Drupal\content_moderation\Entity\Handler\NodeModerationHandler::__construct()
NodeModerationHandler constructor.
Parameters
\Drupal\content_moderation\ModerationInformationInterface $moderation_info: The moderation information service.
File
-
core/
modules/ content_moderation/ src/ Entity/ Handler/ NodeModerationHandler.php, line 30
Class
- NodeModerationHandler
- Customizations for node entities.
Namespace
Drupal\content_moderation\Entity\HandlerCode
public function __construct(ModerationInformationInterface $moderation_info) {
$this->moderationInfo = $moderation_info;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.