public function NodeModerationHandler::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php \Drupal\content_moderation\Entity\Handler\NodeModerationHandler::__construct()
- 9 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;
}