You are here

public function EditContentCheck::__construct in Workbench Moderation State Access 8

Constructs a new EditContentCheck.

Parameters

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

File

src/Access/EditContentCheck.php, line 35
Contains \Drupal\workbench_moderation_state_access\Access\EditContentCheck.

Class

EditContentCheck
Provides an access checker for editing content in WBM states.

Namespace

Drupal\workbench_moderation_state_access\Access

Code

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