public function MenuLinksInfo::__construct in Form mode manager 8.2
EntityTypeInfo constructor.
Parameters
\Drupal\form_mode_manager\FormModeManagerInterface $form_mode_manager: The form mode manager.
\Drupal\form_mode_manager\EntityRoutingMapManager $plugin_routes_manager: Plugin EntityRoutingMap to retrieve entity form operation routes.
File
- src/
MenuLinksInfo.php, line 38
Class
- MenuLinksInfo
- Manipulates Menus Links informations.
Namespace
Drupal\form_mode_managerCode
public function __construct(FormModeManagerInterface $form_mode_manager, EntityRoutingMapManager $plugin_routes_manager) {
$this->formModeManager = $form_mode_manager;
$this->entityRoutingMap = $plugin_routes_manager;
}