function LinkRelationType::getDescription

Same name in other branches
  1. 9 core/lib/Drupal/Core/Http/LinkRelationType.php \Drupal\Core\Http\LinkRelationType::getDescription()
  2. 8.9.x core/lib/Drupal/Core/Http/LinkRelationType.php \Drupal\Core\Http\LinkRelationType::getDescription()
  3. 10 core/lib/Drupal/Core/Http/LinkRelationType.php \Drupal\Core\Http\LinkRelationType::getDescription()

Overrides LinkRelationTypeInterface::getDescription

File

core/lib/Drupal/Core/Http/LinkRelationType.php, line 43

Class

LinkRelationType
Defines a single link relationship type.

Namespace

Drupal\Core\Http

Code

public function getDescription() {
    return $this->pluginDefinition['description'] ?? '';
}

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