Security update to Drupal 8.4.6
[yaffs-website] / web / core / modules / block / tests / modules / block_test / src / Plugin / Block / TestMultipleFormsBlock.php
1 <?php
2
3 namespace Drupal\block_test\Plugin\Block;
4
5 use Drupal\Core\Block\BlockBase;
6
7 /**
8  * Provides a block with multiple forms.
9  *
10  * @Block(
11  *   id = "test_multiple_forms_block",
12  *   forms = {
13  *     "secondary" = "\Drupal\block_test\PluginForm\EmptyBlockForm"
14  *   },
15  *   admin_label = @Translation("Multiple forms test block")
16  * )
17  */
18 class TestMultipleFormsBlock extends BlockBase {
19
20   /**
21    * {@inheritdoc}
22    */
23   public function build() {
24     return [];
25   }
26
27 }