public function LatestRevisionCheck::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/content_moderation/src/Access/LatestRevisionCheck.php \Drupal\content_moderation\Access\LatestRevisionCheck::__construct()
Constructs a new LatestRevisionCheck.
Parameters
\Drupal\content_moderation\ModerationInformationInterface $moderation_information: The moderation information service.
File
- core/
modules/ content_moderation/ src/ Access/ LatestRevisionCheck.php, line 33
Class
- LatestRevisionCheck
- Access check for the entity moderation tab.
Namespace
Drupal\content_moderation\AccessCode
public function __construct(ModerationInformationInterface $moderation_information) {
$this->moderationInfo = $moderation_information;
}