You are here

public function LinkProviderInterface::getLinkRelationType in JSON:API Hypermedia 8

Gets the link relation type for the provided link.

Return value

string A link relation type name for the provided link.

1 method overrides LinkProviderInterface::getLinkRelationType()
LinkProviderBase::getLinkRelationType in src/Plugin/LinkProviderBase.php
Gets the link relation type for the provided link.

File

src/LinkProviderInterface.php, line 26

Class

LinkProviderInterface
Interface LinkProviderInterface.

Namespace

Drupal\jsonapi_hypermedia

Code

public function getLinkRelationType();