function LinkRelationType::getReference

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

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.