You are here

public function ConfigEntityRevisionsDiffController::__construct in Config Entity Revisions 8

Same name and namespace in other branches
  1. 1.x src/ConfigEntityRevisionsDiffController.php \Drupal\config_entity_revisions\ConfigEntityRevisionsDiffController::__construct()

Constructs a PluginRevisionController object.

Parameters

\Drupal\diff\DiffEntityComparison $entity_comparison: The diff entity comparison service.

\Drupal\diff\DiffLayoutManager $diff_layout_manager: The diff layout service.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.

Overrides PluginRevisionController::__construct

File

src/ConfigEntityRevisionsDiffController.php, line 29

Class

ConfigEntityRevisionsDiffController
Class ConfigEntityRevisionsDiffController.

Namespace

Drupal\config_entity_revisions

Code

public function __construct(DiffEntityComparison $entity_comparison, DiffLayoutManager $diff_layout_manager, RequestStack $request_stack, EntityTypeManagerInterface $entityTypeManager) {
  parent::__construct($entity_comparison, $diff_layout_manager, $request_stack);
  $this->entityTypeManager = $entityTypeManager;
}