You are here

interface ConfigEntityRevisionsControllerInterface in Config Entity Revisions 8.2

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

Interface ConfigEntityRevisionsControllerInterface.

@package Drupal\config_entity_revisions

Hierarchy

Expanded class hierarchy of ConfigEntityRevisionsControllerInterface

All classes that implement ConfigEntityRevisionsControllerInterface

3 files declare their use of ConfigEntityRevisionsControllerInterface
ContactFormRevisionsController.php in modules/contact_form_revisions/src/Controller/ContactFormRevisionsController.php
ViewRevisionsController.php in modules/view_revisions/src/Controller/ViewRevisionsController.php
WebformRevisionsController.php in modules/webform_revisions/src/Controller/WebformRevisionsController.php

File

src/ConfigEntityRevisionsControllerInterface.php, line 23

Namespace

Drupal\config_entity_revisions
View source
interface ConfigEntityRevisionsControllerInterface extends ContainerInjectionInterface {

  /**
   * Constructs a ConfigEntityRevisionsController object.
   *
   * @param \Symfony\Component\DependencyInjection\ContainerInterface $container
   *   The container interface object.
   * @param \Drupal\Core\Datetime\DateFormatterInterface $date_formatter
   *   The date formatter service.
   * @param \Drupal\Core\Render\RendererInterface $renderer
   *   The renderer service.
   * @param \Drupal\Core\Config\ImmutableConfig $config
   *   The configuration service.
   * @param \Drupal\diff\DiffEntityComparison $entity_comparison
   *   The diff entity comparison service.
   * @param \Drupal\Core\Entity\EntityTypeManager $entity_type_manager
   *   The entity type manager.
   * @param \Drupal\Core\Session\AccountProxyInterface $current_user
   *   The current user.
   * @param \Symfony\Component\Serializer\Serializer $serialiser
   *   The serialiser service.
   * @param \Drupal\Core\Database\Connection $connection
   *   The database connection.
   */
  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);

  /**
   * {@inheritdoc}
   */
  public static function create(ContainerInterface $container);

  /**
   * Default implementation providing a title for a rendered revision.
   *
   * @param \Drupal\Core\Config\Entity\ConfigEntityInterface $config_entity
   *   The configuration entity being displayed.
   *
   * @return string
   *   The resulting title.
   */
  public function revisionShowTitle(ConfigEntityInterface $config_entity);

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigEntityRevisionsControllerInterface::create public static function Instantiates a new instance of this class. Overrides ContainerInjectionInterface::create
ConfigEntityRevisionsControllerInterface::revisionShowTitle public function Default implementation providing a title for a rendered revision. 3
ConfigEntityRevisionsControllerInterface::__construct public function Constructs a ConfigEntityRevisionsController object. 1