You are here

public function LatestRevisionCheck::__construct in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 src/Access/LatestRevisionCheck.php \Drupal\workbench_moderation\Access\LatestRevisionCheck::__construct()

Constructs a new LatestRevisionCheck.

Parameters

\Drupal\workbench_moderation\ModerationInformationInterface $moderation_information: The moderation information service.

File

src/Access/LatestRevisionCheck.php, line 30

Class

LatestRevisionCheck
Define class for revision checks.

Namespace

Drupal\workbench_moderation\Access

Code

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