public function LinkRelationType::getExtensionUri in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Http/LinkRelationType.php \Drupal\Core\Http\LinkRelationType::getExtensionUri()
Returns the extension link relation type URI.
Only available for link relation types of the KIND_EXTENSION kind.
Return value
string The URI of the extension relation type.
Overrides LinkRelationTypeInterface::getExtensionUri
See also
https://tools.ietf.org/html/rfc5988#section-4.2
File
- core/
lib/ Drupal/ Core/ Http/ LinkRelationType.php, line 36
Class
- LinkRelationType
- Defines a single link relationship type.
Namespace
Drupal\Core\HttpCode
public function getExtensionUri() {
return $this
->isExtension() ? $this->pluginDefinition['uri'] : NULL;
}