function ctools_export_ui_task_access
Menu access callback for various tasks of export-ui.
1 string reference to 'ctools_export_ui_task_access'
- ctools_export_ui_process in includes/
export-ui.inc - Process an export-ui plugin to provide it with defaults.
File
-
./
ctools.module, line 999
Code
function ctools_export_ui_task_access($plugin_name, $op, $item = NULL) {
ctools_include('export-ui');
$plugin = ctools_get_export_ui($plugin_name);
$handler = ctools_export_ui_get_handler($plugin);
if ($handler) {
return $handler->access($op, $item);
}
// Deny access if the handler cannot be found.
return FALSE;
}