You are here

function ctools_menu_primary_local_tasks in Chaos Tool Suite (ctools) 6

CTools variant of menu_primary_local_tasks().

This can be called by themes which implement their own theme_menu_local_tasks in order to get local tasks that include CTools' additions.

2 calls to ctools_menu_primary_local_tasks()
ctools_garland_menu_local_tasks in includes/menu.inc
Returns the rendered local tasks. The default implementation renders them as tabs. Overridden to split the secondary tasks.
ctools_theme_menu_local_tasks in includes/menu.inc
An alternative to theme_menu_local_tasks to add flexibility to tabs.

File

includes/menu.inc, line 256
General menu helper functions.

Code

function ctools_menu_primary_local_tasks() {
  return ctools_menu_local_tasks(0);
}