You are here

public function LinkProviderManager::setLinkRelationTypeManager in JSON:API Hypermedia 8

Set the link relation type manager.

Parameters

\Drupal\Core\Http\LinkRelationTypeManager $link_relation_type_manager: The link relation type manager.

File

src/Plugin/LinkProviderManager.php, line 104

Class

LinkProviderManager
Manages discovery and instantiation of resourceFieldEnhancer plugins.

Namespace

Drupal\jsonapi_hypermedia\Plugin

Code

public function setLinkRelationTypeManager(LinkRelationTypeManager $link_relation_type_manager) {
  $this->linkRelationTypeManager = $link_relation_type_manager;
}