function menu_primary_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/api.elmsln.org/includes/bootstrap.inc).
cis7 menu.inc menu_primary_local_tasks()
cle7 menu.inc menu_primary_local_tasks()
elmsmedia7 menu.inc menu_primary_local_tasks()
icor7 menu.inc menu_primary_local_tasks()
meedjum_blog7 menu.inc menu_primary_local_tasks()
mooc7 menu.inc menu_primary_local_tasks()

Returns the rendered local tasks at the top level.

Related topics

5 calls to menu_primary_local_tasks()
adaptivetheme_preprocess_page in sites/all/themes/ulmus/adaptivetheme/at_core/inc/preprocess.inc
Preprocess variables for page.tpl.php
aurora_preprocess_block in sites/all/themes/ulmus/aurora/template.php
menu_local_tabs in includes/menu.inc
Returns a renderable element for the primary and secondary tabs.
tao_preprocess_page in sites/all/themes/ulmus/tao/template.php
Implementation of preprocess_page().
template_preprocess_overlay in modules/overlay/overlay.module
Implements template_preprocess_HOOK() for overlay.tpl.php

File

includes/menu.inc, line 2227
API for the Drupal menu system.

Code

function menu_primary_local_tasks() {
  $links = menu_local_tasks(0);
  // Do not display single tabs.
  return ($links['tabs']['count'] > 1 ? $links['tabs']['output'] : '');
}