You are here

public function WorkflowCollector::__construct in Dependency Calculation 8

EntityFormDisplayDependencyCollector constructor.

Parameters

\Drupal\content_moderation\ModerationInformationInterface|null $moderation_information: The moderation information.

File

src/EventSubscriber/DependencyCollector/WorkflowCollector.php, line 29

Class

WorkflowCollector
Subscribes to dependency collection to extract the entity form display.

Namespace

Drupal\depcalc\EventSubscriber\DependencyCollector

Code

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