function LayoutDefinition::getDescription

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Layout/LayoutDefinition.php \Drupal\Core\Layout\LayoutDefinition::getDescription()
  2. 10 core/lib/Drupal/Core/Layout/LayoutDefinition.php \Drupal\Core\Layout\LayoutDefinition::getDescription()
  3. 11.x core/lib/Drupal/Core/Layout/LayoutDefinition.php \Drupal\Core\Layout\LayoutDefinition::getDescription()

Gets the description of the layout definition.

Return value

string|\Drupal\Core\StringTranslation\TranslatableMarkup The description of the layout definition.

File

core/lib/Drupal/Core/Layout/LayoutDefinition.php, line 218

Class

LayoutDefinition
Provides an implementation of a layout definition and its metadata.

Namespace

Drupal\Core\Layout

Code

public function getDescription() {
    return $this->description;
}

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