public function MenuLinkEditForm::__construct in Drupal 9
Same name and namespace in other branches
- 8 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\FormCode
public function __construct(ClassResolverInterface $class_resolver) {
$this->classResolver = $class_resolver;
}