You are here

public function MenuLinkEditForm::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 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;
}