function FormHooks::formMenuLinkEditAlter

Same name and namespace in other branches
  1. main core/themes/admin/src/Hook/FormHooks.php \Drupal\admin\Hook\FormHooks::formMenuLinkEditAlter()

Implements hook_form_FORM_ID_alter() for MenuLinkEditForm.

Alters the menu_link_edit form by organizing form elements into different 'details' sections.

Attributes

#[Hook('form_menu_link_edit_alter')]

File

core/themes/admin/src/Hook/FormHooks.php, line 303

Class

FormHooks
Provides form related hook implementations.

Namespace

Drupal\admin\Hook

Code

public function formMenuLinkEditAlter(array &$form) : void {
  $this->formMenuLinkContentFormAlter($form);
}

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