The function ctools_menu_add_local_task() is mentioned on line 231 of modules/ctools/includes/menu.inc, but seems to not have been written yet. :)

I'm needing to use the feature without having to hack into the code... but oh, well.

 * An alternative to theme_menu_local_tasks to add flexibility to tabs.
 *
 * The code in theme_menu_local_tasks has no entry points to put hooks.
 * Therefore, what CTools does is, if that theme function is not overridden,
 * it uses hook_theme_registry_alter() to use its own version. This version
 * then allows modules to use ctools_menu_add_local_task() to add a dynamic
 * local task to the list.

Comments

Ashlar’s picture

Status: Active » Closed (won't fix)

This bug report has not been active for over six months. In an effort to clean-up the issue queue this item has been closed. If your modules are current and the report is still relevant please feel free to change the Status back to active.