You are here

public function Layout::get in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::get()

Gets the value of an annotation.

Overrides Plugin::get

File

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

Class

Layout
Defines a Layout annotation object.

Namespace

Drupal\Core\Layout\Annotation

Code

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