function theme_menu_local_tasks


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 theme_menu_local_tasks(&$variables)
cle7 theme_menu_local_tasks(&$variables)
elmsmedia7 theme_menu_local_tasks(&$variables)
icor7 theme_menu_local_tasks(&$variables)
meedjum_blog7 theme_menu_local_tasks(&$variables)
mooc7 theme_menu_local_tasks(&$variables)

Returns HTML for primary and secondary local tasks.


$variables: An associative array containing:

  • primary: (optional) An array of local tasks (tabs).
  • secondary: (optional) An array of local tasks (tabs).

See also


Related topics

1 theme call to theme_menu_local_tasks()
aurora_preprocess_block in sites/all/themes/ulmus/aurora/template.php
6 string references to the theme hook from theme_menu_local_tasks()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

aurora_preprocess_block in sites/all/themes/ulmus/aurora/template.php
drupal_common_theme in includes/
Provides theme registration for themes across .inc files.
garland_preprocess_page in themes/garland/template.php
Override or insert variables into the page template.
media_browser in sites/all/modules/ulmus/media/includes/
Media browser page callback.
menu_local_tabs in includes/
Returns a renderable element for the primary and secondary tabs.

... See full list


includes/, line 2280
API for the Drupal menu system.


function theme_menu_local_tasks(&$variables) {
  $output = '';

  if (!empty($variables['primary'])) {
    $variables['primary']['#prefix'] = '<h2 class="element-invisible">' . t('Primary tabs') . '</h2>';
    $variables['primary']['#prefix'] .= '<ul class="tabs primary">';
    $variables['primary']['#suffix'] = '</ul>';
    $output .= drupal_render($variables['primary']);
  if (!empty($variables['secondary'])) {
    $variables['secondary']['#prefix'] = '<h2 class="element-invisible">' . t('Secondary tabs') . '</h2>';
    $variables['secondary']['#prefix'] .= '<ul class="tabs secondary">';
    $variables['secondary']['#suffix'] = '</ul>';
    $output .= drupal_render($variables['secondary']);

  return $output;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.