interface ConfigEntityRevisionsOverviewFormBaseInterface in Config Entity Revisions 8
Same name and namespace in other branches
- 8.2 src/ConfigEntityRevisionsOverviewFormBaseInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsOverviewFormBaseInterface
- 1.x src/ConfigEntityRevisionsOverviewFormBaseInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsOverviewFormBaseInterface
Controller to make library functions available to various consumers.
Hierarchy
- interface \Drupal\Core\Form\FormInterface; interface \Drupal\Core\DependencyInjection\ContainerInjectionInterface
- interface \Drupal\config_entity_revisions\ConfigEntityRevisionsOverviewFormBaseInterface
Expanded class hierarchy of ConfigEntityRevisionsOverviewFormBaseInterface
All classes that implement ConfigEntityRevisionsOverviewFormBaseInterface
2 files declare their use of ConfigEntityRevisionsOverviewFormBaseInterface
- ViewsRevisionsOverviewForm.php in modules/
views_revisions/ src/ Form/ ViewsRevisionsOverviewForm.php - WebformRevisionsOverviewForm.php in modules/
webform_revisions/ src/ Form/ WebformRevisionsOverviewForm.php
File
- src/
ConfigEntityRevisionsOverviewFormBaseInterface.php, line 21
Namespace
Drupal\config_entity_revisionsView source
interface ConfigEntityRevisionsOverviewFormBaseInterface extends FormInterface, ContainerInjectionInterface {
/**
* Constructs a ConfigEntityRevisionsController object.
*
* @param DateFormatterInterface $date_formatter
* The date formatter service.
* @param RendererInterface $renderer
* The renderer service.
* @param ImmutableConfig $config
* The configuration service.
* @param ModuleHandler $module_handler
* The module handler service.
* @param EntityTypeManager $entity_type_manager
* The entity type manager service.
* @param LinkGenerator $link
* The Link generator service.
* @param DiffLayoutManager $diff_layout_manager|NULL
* The diff layout manager service
*/
public function __construct(DateFormatterInterface $date_formatter, RendererInterface $renderer, ImmutableConfig $config, ModuleHandler $module_handler, EntityTypeManager $entity_type_manager, LinkGenerator $link, DiffLayoutManager $diff_layout_manager = NULL);
/**
* {@inheritdoc}
*/
public static function create(ContainerInterface $container);
/**
* Returns a unique string identifying the form.
*
* @return string
* The unique string identifying the form.
*/
public function getFormId();
/**
* Generates an overview table of older revisions of a config entity.
*
* @param array $form
* A form being built.
* @param FormStateInterface $form_state
* The form state.
* @param ConfigEntityInterface $config_entity
* A configuration entity.
*
* @return array
* An array as expected by \Drupal\Core\Render\RendererInterface::render().
*/
public function buildForm(array $form, FormStateInterface $form_state, ConfigEntityInterface $config_entity = NULL);
/**
* {@inheritdoc}
*/
public function validateForm(array &$form, FormStateInterface $form_state);
/**
* {@inheritdoc}
*/
public function submitForm(array &$form, FormStateInterface $form_state);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ConfigEntityRevisionsOverviewFormBaseInterface:: |
public | function |
Generates an overview table of older revisions of a config entity. Overrides FormInterface:: |
|
ConfigEntityRevisionsOverviewFormBaseInterface:: |
public static | function |
Instantiates a new instance of this class. Overrides ContainerInjectionInterface:: |
|
ConfigEntityRevisionsOverviewFormBaseInterface:: |
public | function |
Returns a unique string identifying the form. Overrides FormInterface:: |
|
ConfigEntityRevisionsOverviewFormBaseInterface:: |
public | function |
Form submission handler. Overrides FormInterface:: |
|
ConfigEntityRevisionsOverviewFormBaseInterface:: |
public | function |
Form validation handler. Overrides FormInterface:: |
|
ConfigEntityRevisionsOverviewFormBaseInterface:: |
public | function | Constructs a ConfigEntityRevisionsController object. | 1 |