function LinkRelationType::getRegisteredName
Returns the registered link relation type name.
Only available for link relation types of the KIND_REGISTERED kind.
Return value
string|null The name of the registered relation type.
Overrides LinkRelationTypeInterface::getRegisteredName
File
-
core/
lib/ Drupal/ Core/ Http/ LinkRelationType.php, line 29
Class
- LinkRelationType
- Defines a single link relationship type.
Namespace
Drupal\Core\HttpCode
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.