You are here

ViewsRevisionsOverviewForm.php in Config Entity Revisions 8

Same filename and directory in other branches
  1. 1.x modules/views_revisions/src/Form/ViewsRevisionsOverviewForm.php

File

modules/views_revisions/src/Form/ViewsRevisionsOverviewForm.php
View source
<?php

namespace Drupal\views_revisions\Form;

use Drupal\config_entity_revisions\ConfigEntityRevisionsOverviewFormBase;
use Drupal\config_entity_revisions\ConfigEntityRevisionsOverviewFormBaseInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Provides a form for reverting a view_revisions revision.
 *
 * @internal
 */
class ViewsRevisionsOverviewForm extends ConfigEntityRevisionsOverviewFormBase implements ConfigEntityRevisionsOverviewFormBaseInterface {

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

}

Classes

Namesort descending Description
ViewsRevisionsOverviewForm Provides a form for reverting a view_revisions revision.