1.20.x menu.theme.inc theme_menu_admin_overview($variables)

Returns HTML for a menu title and description for the menu overview page.

Parameters

$variables: An associative array containing:

  • title: The menu's title.
  • description: The menu's description.

Deprecated

as of 1.19.4. Labels are now output using the theme_label_machine_name() function, and descriptions are displayed in a separate column.

Related topics

File

modules/menu/menu.theme.inc, line 21
Theme functions for the Menu module.

Code

function theme_menu_admin_overview($variables) {
  watchdog_deprecated_function('theme', __FUNCTION__);
  $output = check_plain($variables['title']);
  $output .= '<div class="description">' . filter_xss_admin($variables['description']) . '</div>';

  return $output;
}