You are here

public function SectionStorage::get in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/Annotation/SectionStorage.php \Drupal\layout_builder\Annotation\SectionStorage::get()
  2. 10 core/modules/layout_builder/src/Annotation/SectionStorage.php \Drupal\layout_builder\Annotation\SectionStorage::get()

Gets the value of an annotation.

Overrides Plugin::get

File

core/modules/layout_builder/src/Annotation/SectionStorage.php, line 66

Class

SectionStorage
Defines a Section Storage type annotation object.

Namespace

Drupal\layout_builder\Annotation

Code

public function get() {
  return new SectionStorageDefinition($this->definition);
}