You are here

public function ConfigEntityRevisionsModerationHandler::__construct in Config Entity Revisions 8

Same name and namespace in other branches
  1. 8.2 src/Entity/Handler/ConfigEntityRevisionsModerationHandler.php \Drupal\config_entity_revisions\Entity\Handler\ConfigEntityRevisionsModerationHandler::__construct()
  2. 1.x src/Entity/Handler/ConfigEntityRevisionsModerationHandler.php \Drupal\config_entity_revisions\Entity\Handler\ConfigEntityRevisionsModerationHandler::__construct()

NodeModerationHandler constructor.

Parameters

ModerationInformationInterface $moderation_info: The moderation information service.

File

src/Entity/Handler/ConfigEntityRevisionsModerationHandler.php, line 33
Contains Drupal\config_entity_revisions\Entity\Handler\ConfigEntityRevisionsModerationHandler.

Class

ConfigEntityRevisionsModerationHandler
Customizations for config_entity_revisions entities.

Namespace

Drupal\config_entity_revisions\Entity\Handler

Code

public function __construct(ModerationInformationInterface $moderation_info) {
  $this->moderationInfo = $moderation_info;
}