function LinkRelationType::isRegistered

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

Overrides LinkRelationTypeInterface::isRegistered

1 call to LinkRelationType::isRegistered()
LinkRelationType::getRegisteredName in core/lib/Drupal/Core/Http/LinkRelationType.php
Returns the registered link relation type name.

File

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

Class

LinkRelationType
Defines a single link relationship type.

Namespace

Drupal\Core\Http

Code

public function isRegistered() {
    return !$this->isExtension();
}

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