function Layout::get

Same name in this branch
  1. 11.x core/lib/Drupal/Core/Layout/Attribute/Layout.php \Drupal\Core\Layout\Attribute\Layout::get()
Same name and namespace 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()

Overrides Plugin::get

File

core/lib/Drupal/Core/Layout/Annotation/Layout.php, line 171

Class

Layout
Defines a Layout annotation object.

Namespace

Drupal\Core\Layout\Annotation

Code

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

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