public function MenuLinkPluginConverter::__construct in Drupal 9
Same name in this branch
- 9 core/lib/Drupal/Core/ParamConverter/MenuLinkPluginConverter.php \Drupal\Core\ParamConverter\MenuLinkPluginConverter::__construct()
- 9 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 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;
}