You are here

public function ConfigEntityRevisionsOverviewFormBaseInterface::buildForm in Config Entity Revisions 8

Same name and namespace in other branches
  1. 8.2 src/ConfigEntityRevisionsOverviewFormBaseInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsOverviewFormBaseInterface::buildForm()
  2. 1.x src/ConfigEntityRevisionsOverviewFormBaseInterface.php \Drupal\config_entity_revisions\ConfigEntityRevisionsOverviewFormBaseInterface::buildForm()

Generates an overview table of older revisions of a config entity.

Parameters

array $form: A form being built.

FormStateInterface $form_state: The form state.

ConfigEntityInterface $config_entity: A configuration entity.

Return value

array An array as expected by \Drupal\Core\Render\RendererInterface::render().

Overrides FormInterface::buildForm

File

src/ConfigEntityRevisionsOverviewFormBaseInterface.php, line 77

Class

ConfigEntityRevisionsOverviewFormBaseInterface
Controller to make library functions available to various consumers.

Namespace

Drupal\config_entity_revisions

Code

public function buildForm(array $form, FormStateInterface $form_state, ConfigEntityInterface $config_entity = NULL);