public function ChangesListController::__construct in Workspace 8
ChangesListController constructor.
Parameters
\Drupal\multiversion\Workspace\WorkspaceManagerInterface $workspace_manager:
\Drupal\replication\ChangesFactoryInterface $changes_factory:
\Drupal\replication\RevisionDiffFactoryInterface $revisiondiff_factory:
\Drupal\multiversion\Entity\Index\RevisionIndexInterface $rev_index:
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:
\Drupal\Core\State\StateInterface $state:
File
- src/
Controller/ ChangesListController.php, line 72
Class
Namespace
Drupal\workspace\ControllerCode
public function __construct(WorkspaceManagerInterface $workspace_manager, ChangesFactoryInterface $changes_factory, RevisionDiffFactoryInterface $revisiondiff_factory, RevisionIndexInterface $rev_index, EntityTypeManagerInterface $entity_type_manager, StateInterface $state) {
$this->workspaceManager = $workspace_manager;
$this->changesFactory = $changes_factory;
$this->revisionDiffFactory = $revisiondiff_factory;
$this->revIndex = $rev_index;
$this->entityTypeManager = $entity_type_manager;
$this->state = $state;
}