public function MenuLinkPluginConverter::__construct in Zircon Profile 8.0
Same name in this branch
- 8.0 core/lib/Drupal/Core/ParamConverter/MenuLinkPluginConverter.php \Drupal\Core\ParamConverter\MenuLinkPluginConverter::__construct()
- 8.0 core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php \Drupal\Core\ProxyClass\ParamConverter\MenuLinkPluginConverter::__construct()
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/ParamConverter/MenuLinkPluginConverter.php \Drupal\Core\ParamConverter\MenuLinkPluginConverter::__construct()
Constructs a new MenuLinkPluginConverter.
Parameters
\Drupal\Core\Menu\MenuLinkManagerInterface $menu_link_manager: The menu link plugin manager.
File
- core/
lib/ Drupal/ Core/ ParamConverter/ MenuLinkPluginConverter.php, line 32 - Contains \Drupal\Core\ParamConverter\MenuLinkPluginConverter.
Class
- MenuLinkPluginConverter
- Parameter converter for upcasting entity ids to full objects.
Namespace
Drupal\Core\ParamConverterCode
public function __construct(MenuLinkManagerInterface $menu_link_manager) {
$this->menuLinkManager = $menu_link_manager;
}