public function ViewsRevisionsOverviewForm::buildForm in Config Entity Revisions 8
Same name and namespace in other branches
- 1.x modules/views_revisions/src/Form/ViewsRevisionsOverviewForm.php \Drupal\views_revisions\Form\ViewsRevisionsOverviewForm::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 $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/
views_revisions/ src/ Form/ ViewsRevisionsOverviewForm.php, line 19
Class
- ViewsRevisionsOverviewForm
- Provides a form for reverting a view_revisions revision.
Namespace
Drupal\views_revisions\FormCode
public function buildForm(array $form, FormStateInterface $form_state, ConfigEntityInterface $view = NULL) {
return parent::buildForm($form, $form_state, $view);
}