Layout::$description

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::description
  2. 8.9.x core/lib/Drupal/Core/Layout/Annotation/Layout.php \Drupal\Core\Layout\Annotation\Layout::description
  3. 10 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\Annotation

Code

public $description;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.