function page_manager_get_task_id
Split a task name into a task id and subtask id, if applicable.
1 call to page_manager_get_task_id()
- page_manager_get_page_cache in page_manager/
page_manager.module - Get the cached changes to a given task handler.
File
-
page_manager/
page_manager.module, line 972
Code
function page_manager_get_task_id($task_name) {
if (strpos($task_name, '-') !== FALSE) {
return explode('-', $task_name, 2);
}
else {
return array(
$task_name,
NULL,
);
}
}