You are here

public function LinkManager::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/rest/src/LinkManager/LinkManager.php \Drupal\rest\LinkManager\LinkManager::__construct()

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 33
Contains \Drupal\rest\LinkManager\LinkManager.

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;
}