public function Layout::get in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::get()
- 10 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\AnnotationCode
public function get() {
return new LayoutDefinition($this->definition);
}