function menu_get_active_title

×

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_get_active_title()
cle7 menu.inc menu_get_active_title()
elmsmedia7 menu.inc menu_get_active_title()
icor7 menu.inc menu_get_active_title()
meedjum_blog7 menu.inc menu_get_active_title()
mooc7 menu.inc menu_get_active_title()

Gets the title of the current page, as determined by the active trail.

Related topics

2 calls to menu_get_active_title()
drupal_get_title in includes/bootstrap.inc
Gets the title of the current page.
menu_breadcrumb_init in sites/all/modules/ulmus/menu_breadcrumb/menu_breadcrumb.module
Implementation of hook_init().
1 string reference to 'menu_get_active_title'
drupal_get_title in includes/bootstrap.inc
Gets the title of the current page.

File

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

Code

function menu_get_active_title() {
  $active_trail = menu_get_active_trail();

  foreach (array_reverse($active_trail) as $item) {
    if (!(bool) ($item['type'] & MENU_IS_LOCAL_TASK)) {
      return $item['title'];
    }
  }
}