function SectionStorage::get

Same name in this branch
  1. 10 core/modules/layout_builder/src/Attribute/SectionStorage.php \Drupal\layout_builder\Attribute\SectionStorage::get()
Same name in other branches
  1. 9 core/modules/layout_builder/src/Annotation/SectionStorage.php \Drupal\layout_builder\Annotation\SectionStorage::get()
  2. 8.9.x core/modules/layout_builder/src/Annotation/SectionStorage.php \Drupal\layout_builder\Annotation\SectionStorage::get()
  3. 11.x core/modules/layout_builder/src/Annotation/SectionStorage.php \Drupal\layout_builder\Annotation\SectionStorage::get()
  4. 11.x core/modules/layout_builder/src/Attribute/SectionStorage.php \Drupal\layout_builder\Attribute\SectionStorage::get()

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.