function LinkRelationType::getReference

Returns the URL pointing to the reference of the link relation type.

Return value

string The URL pointing to the reference.

Overrides LinkRelationTypeInterface::getReference

File

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

Class

LinkRelationType
Defines a single link relationship type.

Namespace

Drupal\Core\Http

Code

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

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