public function ConfigEntityRevisionsOverviewFormBase::__construct in Config Entity Revisions 8
Same name and namespace in other branches
- 8.2 src/ConfigEntityRevisionsOverviewFormBase.php \Drupal\config_entity_revisions\ConfigEntityRevisionsOverviewFormBase::__construct()
- 1.x src/ConfigEntityRevisionsOverviewFormBase.php \Drupal\config_entity_revisions\ConfigEntityRevisionsOverviewFormBase::__construct()
Constructs a ConfigEntityRevisionsController object.
Parameters
DateFormatterInterface $date_formatter: The date formatter service.
RendererInterface $renderer: The renderer service.
ImmutableConfig $config: The configuration service.
ModuleHandler $module_handler: The module handler service.
EntityTypeManager $entity_type_manager: The entity type manager service.
LinkGenerator $link: The Link generator service.
DiffLayoutManager $diff_layout_manager|NULL: The diff layout manager service
Overrides ConfigEntityRevisionsOverviewFormBaseInterface::__construct
File
- src/
ConfigEntityRevisionsOverviewFormBase.php, line 93
Class
- ConfigEntityRevisionsOverviewFormBase
- Controller to make library functions available to various consumers.
Namespace
Drupal\config_entity_revisionsCode
public function __construct(DateFormatterInterface $date_formatter, RendererInterface $renderer, ImmutableConfig $config, ModuleHandler $module_handler, EntityTypeManager $entity_type_manager, LinkGenerator $link, DiffLayoutManager $diff_layout_manager = NULL) {
$this->dateFormatter = $date_formatter;
$this->renderer = $renderer;
$this->config = $config;
$this->moduleHandler = $module_handler;
$this->entityTypeManager = $entity_type_manager;
$this->diffLayoutManager = $diff_layout_manager;
$this->linkService = $link;
}