public function LinkManager::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/hal/src/LinkManager/LinkManager.php \Drupal\hal\LinkManager\LinkManager::__construct()
Constructor.
Parameters
\Drupal\hal\LinkManager\TypeLinkManagerInterface $type_link_manager: Manager for handling bundle URIs.
\Drupal\hal\LinkManager\RelationLinkManagerInterface $relation_link_manager: Manager for handling bundle URIs.
File
- core/
modules/ hal/ src/ LinkManager/ LinkManager.php, line 29
Class
Namespace
Drupal\hal\LinkManagerCode
public function __construct(TypeLinkManagerInterface $type_link_manager, RelationLinkManagerInterface $relation_link_manager) {
$this->typeLinkManager = $type_link_manager;
$this->relationLinkManager = $relation_link_manager;
}