You are here

public function GroupContentMenuController::editLink in Group Content Menu 8

Provides the menu link edit form.

Parameters

\Drupal\menu_link_content\MenuLinkContentInterface $menu_link_content: The menu link content.

Return value

array Returns the menu link edit form.

File

src/Controller/GroupContentMenuController.php, line 183

Class

GroupContentMenuController
Returns responses for 'group_content_menu' GroupContent routes.

Namespace

Drupal\group_content_menu\Controller

Code

public function editLink(MenuLinkContentInterface $menu_link_content) {
  return $this
    ->entityFormBuilder()
    ->getForm($menu_link_content);
}