function page_manager_page_access_restrictions
Return a list of arguments used by this task.
1 string reference to 'page_manager_page_access_restrictions'
- page_manager_page_page_manager_tasks in page_manager/
plugins/ tasks/ page.inc - Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.
File
-
page_manager/
plugins/ tasks/ page.inc, line 363
Code
function page_manager_page_access_restrictions($task, $subtask, $contexts) {
$page = $subtask['subtask'];
return ctools_access_add_restrictions($page->access, $contexts);
}