function LinkRelationType::isExtension

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

Overrides LinkRelationTypeInterface::isExtension

2 calls to LinkRelationType::isExtension()
LinkRelationType::getExtensionUri in core/lib/Drupal/Core/Http/LinkRelationType.php
Returns the extension link relation type URI.
LinkRelationType::isRegistered in core/lib/Drupal/Core/Http/LinkRelationType.php
Indicates whether this link relation type is of the 'registered' kind.

File

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

Class

LinkRelationType
Defines a single link relationship type.

Namespace

Drupal\Core\Http

Code

public function isExtension() {
    return isset($this->pluginDefinition['uri']);
}

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