LinkManager::__construct

public LinkManager::__construct(TypeLinkManagerInterface $type_link_manager, RelationLinkManagerInterface $relation_link_manager)

Constructor.

Parameters

\Drupal\rest\LinkManager\TypeLinkManagerInterface $type_link_manager: Manager for handling bundle URIs.

\Drupal\rest\LinkManager\RelationLinkManagerInterface $relation_link_manager: Manager for handling bundle URIs.

File

core/modules/rest/src/LinkManager/LinkManager.php, line 29

Class

LinkManager

Namespace

Drupal\rest\LinkManager

Code

public function __construct(TypeLinkManagerInterface $type_link_manager, RelationLinkManagerInterface $relation_link_manager) {
  $this->typeLinkManager = $type_link_manager;
  $this->relationLinkManager = $relation_link_manager;
}
doc_Drupal
2016-10-29 09:23:23
Comments
Leave a Comment

Please login to continue.