function MenuLinkEditForm::__construct

Same name in other branches
  1. 9 core/modules/menu_ui/src/Form/MenuLinkEditForm.php \Drupal\menu_ui\Form\MenuLinkEditForm::__construct()
  2. 8.9.x core/modules/menu_ui/src/Form/MenuLinkEditForm.php \Drupal\menu_ui\Form\MenuLinkEditForm::__construct()
  3. 11.x core/modules/menu_ui/src/Form/MenuLinkEditForm.php \Drupal\menu_ui\Form\MenuLinkEditForm::__construct()

Constructs a MenuLinkEditForm object.

Parameters

\Drupal\Core\DependencyInjection\ClassResolverInterface $class_resolver: The class resolver.

File

core/modules/menu_ui/src/Form/MenuLinkEditForm.php, line 35

Class

MenuLinkEditForm
Defines a generic edit form for all menu link plugin types.

Namespace

Drupal\menu_ui\Form

Code

public function __construct(ClassResolverInterface $class_resolver) {
    $this->classResolver = $class_resolver;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.