public function SystemMenuOffCanvasForm::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/src/Form/SystemMenuOffCanvasForm.php \Drupal\system\Form\SystemMenuOffCanvasForm::__construct()
SystemMenuOffCanvasForm constructor.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $menu_storage:
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:
\Drupal\Core\StringTranslation\TranslationInterface $string_translation:
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
File
- core/
modules/ system/ src/ Form/ SystemMenuOffCanvasForm.php, line 69
Class
- SystemMenuOffCanvasForm
- The setting_tray form handler for the SystemMenuBlock.
Namespace
Drupal\system\FormCode
public function __construct(EntityStorageInterface $menu_storage, EntityTypeManagerInterface $entity_type_manager, TranslationInterface $string_translation, ConfigFactoryInterface $config_factory) {
$this->menuStorage = $menu_storage;
$this->entityTypeManager = $entity_type_manager;
$this->stringTranslation = $string_translation;
$this->configFactory = $config_factory;
}