You are here

public function ViewRevisionsOverviewForm::buildForm in Config Entity Revisions 8.2

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

Parameters

array $form: A form being built.

\Drupal\Core\Form\FormStateInterface $form_state: The form state.

\Drupal\Core\Config\Entity\ConfigEntityInterface $configEntity: A configuration entity.

Return value

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

Throws

\Drupal\Core\Entity\EntityMalformedException

Overrides ConfigEntityRevisionsOverviewFormBase::buildForm

File

modules/view_revisions/src/Form/ViewRevisionsOverviewForm.php, line 35

Class

ViewRevisionsOverviewForm
Provides a form for reverting a view_revisions revision.

Namespace

Drupal\view_revisions\Form

Code

public function buildForm(array $form, FormStateInterface $form_state, ConfigEntityInterface $view = NULL) {
  return parent::buildForm($form, $form_state, $view);
}