function Layout::get

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

Overrides AttributeBase::get

File

core/lib/Drupal/Core/Layout/Attribute/Layout.php, line 107

Class

Layout
Defines a Layout attribute object.

Namespace

Drupal\Core\Layout\Attribute

Code

public function get() : LayoutDefinition {
    return new LayoutDefinition(parent::get());
}

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