Pull merge.
[yaffs-website] / web / core / modules / layout_builder / src / Annotation / SectionStorage.php
1 <?php
2
3 namespace Drupal\layout_builder\Annotation;
4
5 use Drupal\Component\Annotation\Plugin;
6 use Drupal\layout_builder\SectionStorage\SectionStorageDefinition;
7
8 /**
9  * Defines a Section Storage type annotation object.
10  *
11  * @see \Drupal\layout_builder\SectionStorage\SectionStorageManager
12  * @see plugin_api
13  *
14  * @Annotation
15  */
16 class SectionStorage extends Plugin {
17
18   /**
19    * The plugin ID.
20    *
21    * @var string
22    */
23   public $id;
24
25   /**
26    * {@inheritdoc}
27    */
28   public function get() {
29     return new SectionStorageDefinition($this->definition);
30   }
31
32 }