function LinkRelationType::getRegisteredName

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

Overrides LinkRelationTypeInterface::getRegisteredName

File

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

Class

LinkRelationType
Defines a single link relationship type.

Namespace

Drupal\Core\Http

Code

public function getRegisteredName() {
    return $this->isRegistered() ? $this->getPluginId() : NULL;
}

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