Pull merge.
[yaffs-website] / web / core / lib / Drupal / Core / Block / Annotation / Block.php
1 <?php
2
3 namespace Drupal\Core\Block\Annotation;
4
5 use Drupal\Component\Annotation\Plugin;
6
7 /**
8  * Defines a Block annotation object.
9  *
10  * @ingroup block_api
11  *
12  * @Annotation
13  */
14 class Block extends Plugin {
15
16   /**
17    * The plugin ID.
18    *
19    * @var string
20    */
21   public $id;
22
23   /**
24    * The administrative label of the block.
25    *
26    * @var \Drupal\Core\Annotation\Translation
27    *
28    * @ingroup plugin_translatable
29    */
30   public $admin_label = '';
31
32   /**
33    * The category in the admin UI where the block will be listed.
34    *
35    * @var \Drupal\Core\Annotation\Translation
36    *
37    * @ingroup plugin_translatable
38    */
39   public $category = '';
40
41 }