You are here

public function LinkRelationType::isExtension in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Http/LinkRelationType.php \Drupal\Core\Http\LinkRelationType::isExtension()

Indicates whether this link relation type is of the 'extension' kind.

Return value

bool

Overrides LinkRelationTypeInterface::isExtension

See also

https://tools.ietf.org/html/rfc5988#section-4.2

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']);
}