function 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.