public function LinkRelationType::getDescription in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Http/LinkRelationType.php \Drupal\Core\Http\LinkRelationType::getDescription()
- 10 core/lib/Drupal/Core/Http/LinkRelationType.php \Drupal\Core\Http\LinkRelationType::getDescription()
Returns the link relation type description.
Return value
string The link relation type description.
Overrides LinkRelationTypeInterface::getDescription
See also
https://tools.ietf.org/html/rfc5988#section-6.2.1
File
- core/
lib/ Drupal/ Core/ Http/ LinkRelationType.php, line 43
Class
- LinkRelationType
- Defines a single link relationship type.
Namespace
Drupal\Core\HttpCode
public function getDescription() {
return isset($this->pluginDefinition['description']) ? $this->pluginDefinition['description'] : '';
}