function MenuLinkPluginConverter::__construct
Same name in this branch
- 8.9.x core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php \Drupal\Core\ProxyClass\ParamConverter\MenuLinkPluginConverter::__construct()
Same name in other branches
- 9 core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php \Drupal\Core\ProxyClass\ParamConverter\MenuLinkPluginConverter::__construct()
- 9 core/lib/Drupal/Core/ParamConverter/MenuLinkPluginConverter.php \Drupal\Core\ParamConverter\MenuLinkPluginConverter::__construct()
- 10 core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php \Drupal\Core\ProxyClass\ParamConverter\MenuLinkPluginConverter::__construct()
- 10 core/lib/Drupal/Core/ParamConverter/MenuLinkPluginConverter.php \Drupal\Core\ParamConverter\MenuLinkPluginConverter::__construct()
- 11.x core/lib/Drupal/Core/ProxyClass/ParamConverter/MenuLinkPluginConverter.php \Drupal\Core\ProxyClass\ParamConverter\MenuLinkPluginConverter::__construct()
- 11.x 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 27
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.