Layout::$description
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::description
- 10 core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::description
- 11.x core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::description
A description for advanced layouts.
This property is optional and it does not need to be declared.
Sometimes layouts are so complex that the name is insufficient to describe a layout such that a visually impaired administrator could layout a page for a non-visually impaired audience. If specified, it will provide a description that is used for accessibility purposes.
Type: string
Related topics
File
-
core/
lib/ Drupal/ Core/ Layout/ Annotation/ Layout.php, line 56
Class
- Layout
- Defines a Layout annotation object.
Namespace
Drupal\Core\Layout\AnnotationCode
public $description;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.