function MenuUiHooks::theme

Same name and namespace in other branches
  1. 11.x core/modules/menu_ui/src/Hook/MenuUiHooks.php \Drupal\menu_ui\Hook\MenuUiHooks::theme()

Implements hook_theme().

Attributes

#[Hook('theme')]

File

core/modules/menu_ui/src/Hook/MenuUiHooks.php, line 345

Class

MenuUiHooks
Hook implementations for menu_ui.

Namespace

Drupal\menu_ui\Hook

Code

public function theme() : array {
  return [
    'menu_link_form' => [
      'render element' => 'form',
    ],
  ];
}

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