function ctools_export_ui_plugin_base_path in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 includes/export-ui.inc \ctools_export_ui_plugin_base_path()
Get the base path from a plugin.
Parameters
$plugin: The plugin.
Return value
The menu path to the plugin's list.
8 calls to ctools_export_ui_plugin_base_path()
- ctools_export_ui::clone_page in plugins/
export_ui/ ctools_export_ui.class.php - Main entry point to clone an item.
- ctools_export_ui::delete_page in plugins/
export_ui/ ctools_export_ui.class.php - Page callback to delete an exportable item.
- ctools_export_ui::hook_menu in plugins/
export_ui/ ctools_export_ui.class.php - hook_menu() entry point.
- ctools_export_ui::list_form_submit in plugins/
export_ui/ ctools_export_ui.class.php - Submit the filter/sort form.
- ctools_export_ui::set_item_state in plugins/
export_ui/ ctools_export_ui.class.php - Set an item's state to enabled or disabled and output to user.
File
- includes/
export-ui.inc, line 439 - Provide a tool for creating UIs for exportable objects.
Code
function ctools_export_ui_plugin_base_path($plugin) {
return $plugin['menu']['menu prefix'] . '/' . $plugin['menu']['menu item'];
}