SystemMenuOffCanvasForm::__construct

public SystemMenuOffCanvasForm::__construct(EntityStorageInterface $menu_storage, EntityTypeManagerInterface $entity_type_manager, TranslationInterface $string_translation)

SystemMenuOffCanvasForm constructor.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $menu_storage:

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

\Drupal\Core\StringTranslation\TranslationInterface $string_translation:

File

core/modules/outside_in/src/Form/SystemMenuOffCanvasForm.php, line 57

Class

SystemMenuOffCanvasForm
The off-canvas form handler for the SystemMenuBlock.

Namespace

Drupal\outside_in\Form

Code

public function __construct(EntityStorageInterface $menu_storage, EntityTypeManagerInterface $entity_type_manager, TranslationInterface $string_translation) {
  $this->menuStorage = $menu_storage;
  $this->entityTypeManager = $entity_type_manager;
  $this->stringTranslation = $string_translation;
}
doc_Drupal
2016-10-29 09:45:51
Comments
Leave a Comment

Please login to continue.