public function MenuPositionRuleDeleteForm::__construct in Menu Position 8
The menu position rule delete form constructor.
Parameters
\Drupal\Core\Menu\MenuLinkManagerInterface $menu_link_manager: The menu link manager.
\Drupal\Core\Routing\RouteBuilderInterface $route_builder: The route building service.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
File
- src/
Form/ MenuPositionRuleDeleteForm.php, line 42
Class
- MenuPositionRuleDeleteForm
- Builds the form to delete a Example.
Namespace
Drupal\menu_position\FormCode
public function __construct(MenuLinkManagerInterface $menu_link_manager, RouteBuilderInterface $route_builder, MessengerInterface $messenger) {
$this->menu_link_manager = $menu_link_manager;
$this->route_builder = $route_builder;
$this->messenger = $messenger;
}