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