public function ScheduledTransitionsTokenReplacements::setModerationInformation in Scheduled Transitions 2.x
Sets moderation information service.
Parameters
\Drupal\content_moderation\ModerationInformationInterface $moderationInformation: Moderation information service.
File
- src/
ScheduledTransitionsTokenReplacements.php, line 121
Class
- ScheduledTransitionsTokenReplacements
- Represents strings used as replacement variables in translation or logger.
Namespace
Drupal\scheduled_transitionsCode
public function setModerationInformation(ModerationInformationInterface $moderationInformation) : void {
$this->moderationInformation = $moderationInformation;
}