You are here

function _authcache_menu_local_tasks in Authenticated User Page Caching (Authcache) 7

Same name and namespace in other branches
  1. 6 ajax/authcache.php \_authcache_menu_local_tasks()

Render primary & secondary tabs. Response will be cached.

See also

menu.inc

File

ajax/authcache.php, line 263
Authcache Ajax Callback (authcache.php)

Code

function _authcache_menu_local_tasks($vars) {
  drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
  return array(
    'tabs' => render(menu_local_tabs()),
    'action_links' => render(menu_local_actions()),
  );
}