interface ConfigEntityRevisionsControllerInterface in Config Entity Revisions 8.2
Same name and namespace in other branches
- 8 src/ConfigEntityRevisionsControllerInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsControllerInterface
- 1.x src/ConfigEntityRevisionsControllerInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsControllerInterface
Interface ConfigEntityRevisionsControllerInterface.
@package Drupal\config_entity_revisions
Hierarchy
- interface \Drupal\Core\DependencyInjection\ContainerInjectionInterface
- interface \Drupal\config_entity_revisions\ConfigEntityRevisionsControllerInterface
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_revisionsView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigEntityRevisionsControllerInterface:: |
public static | function |
Instantiates a new instance of this class. Overrides ContainerInjectionInterface:: |
|
ConfigEntityRevisionsControllerInterface:: |
public | function | Default implementation providing a title for a rendered revision. | 3 |
ConfigEntityRevisionsControllerInterface:: |
public | function | Constructs a ConfigEntityRevisionsController object. | 1 |