Security update to Drupal 8.4.6
[yaffs-website] / web / core / modules / block / tests / modules / block_test / src / PluginForm / EmptyBlockForm.php
1 <?php
2
3 namespace Drupal\block_test\PluginForm;
4
5 use Drupal\Core\Form\FormStateInterface;
6 use Drupal\Core\Plugin\PluginFormBase;
7
8 /**
9  * Provides a form for a block that is empty.
10  */
11 class EmptyBlockForm extends PluginFormBase {
12
13   /**
14    * {@inheritdoc}
15    */
16   public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
17     return $form;
18   }
19
20   /**
21    * {@inheritdoc}
22    */
23   public function submitConfigurationForm(array &$form, FormStateInterface $form_state) {
24     // Intentionally empty.
25   }
26
27 }