You are here

public function ConfigEntityRevisionsControllerInterface::__construct in Config Entity Revisions 8.2

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

Constructs a ConfigEntityRevisionsController object.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The container interface object.

\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.

\Drupal\Core\Render\RendererInterface $renderer: The renderer service.

\Drupal\Core\Config\ImmutableConfig $config: The configuration service.

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

\Drupal\Core\Entity\EntityTypeManager $entity_type_manager: The entity type manager.

\Drupal\Core\Session\AccountProxyInterface $current_user: The current user.

\Symfony\Component\Serializer\Serializer $serialiser: The serialiser service.

\Drupal\Core\Database\Connection $connection: The database connection.

1 method overrides ConfigEntityRevisionsControllerInterface::__construct()
ConfigEntityRevisionsControllerBase::__construct in src/ConfigEntityRevisionsControllerBase.php
Constructs a ConfigEntityRevisionsController object.

File

src/ConfigEntityRevisionsControllerInterface.php, line 47

Class

ConfigEntityRevisionsControllerInterface
Interface ConfigEntityRevisionsControllerInterface.

Namespace

Drupal\config_entity_revisions

Code

public function __construct(ContainerInterface $container, DateFormatterInterface $date_formatter, RendererInterface $renderer, ImmutableConfig $config, DiffEntityComparison $entity_comparison, EntityTypeManager $entity_type_manager, AccountProxyInterface $current_user, Serializer $serialiser, Connection $connection);