Commit 0cf2996a authored by alexpott's avatar alexpott

Issue #2078015 by er.pushpinderrana, RoSk0 | alexanansi: Modernize views_test_data.module forms.

parent f4751717
......@@ -6,12 +6,12 @@
namespace Drupal\views_test_data\Form;
use Drupal\Core\Form\FormInterface;
use Drupal\Core\Form\FormBase;
/**
* Simple form page callback to test the view element.
*/
class ViewsTestDataElementForm implements FormInterface {
class ViewsTestDataElementForm extends FormBase {
/**
* {@inheritdoc}
......@@ -34,12 +34,6 @@ public function buildForm(array $form, array &$form_state) {
return $form;
}
/**
* {@inheritdoc}
*/
public function validateForm(array &$form, array &$form_state) {
}
/**
* {@inheritdoc}
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment