You are here

public function LinkRelationType::getNotes in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Http/LinkRelationType.php \Drupal\Core\Http\LinkRelationType::getNotes()

Returns some extra notes/comments about this link relation type.

Return value

string The notes about the link relation.

Overrides LinkRelationTypeInterface::getNotes

See also

https://tools.ietf.org/html/rfc5988#section-6.2.1

File

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

Class

LinkRelationType
Defines a single link relationship type.

Namespace

Drupal\Core\Http

Code

public function getNotes() {
  return isset($this->pluginDefinition['notes']) ? $this->pluginDefinition['notes'] : '';
}