ConfigEntityRevisionsControllerInterface.php in Config Entity Revisions 8.2
Same filename and directory in other branches
Namespace
Drupal\config_entity_revisionsFile
src/ConfigEntityRevisionsControllerInterface.phpView source
<?php
namespace Drupal\config_entity_revisions;
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Session\AccountProxyInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
use Drupal\Core\Datetime\DateFormatterInterface;
use Drupal\Core\Render\RendererInterface;
use Drupal\Core\Config\ImmutableConfig;
use Drupal\diff\DiffEntityComparison;
use Drupal\Core\Entity\EntityTypeManager;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
use Symfony\Component\Serializer\Serializer;
use Drupal\Core\Database\Connection;
/**
* Interface ConfigEntityRevisionsControllerInterface.
*
* @package Drupal\config_entity_revisions
*/
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);
}
Interfaces
Name![]() |
Description |
---|---|
ConfigEntityRevisionsControllerInterface | Interface ConfigEntityRevisionsControllerInterface. |