You are here

function page_manager_term_view_access_check in Chaos Tool Suite (ctools) 7

Callback to determine if a page is accessible.

Parameters

$task: The task plugin.

$subtask_id: The subtask id

$contexts: The contexts loaded for the task.

Return value

bool TRUE if the current user can access the page.

1 string reference to 'page_manager_term_view_access_check'
page_manager_term_view_page_manager_tasks in page_manager/plugins/tasks/term_view.inc
Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.

File

page_manager/plugins/tasks/term_view.inc, line 373
Handle the 'term view' override task.

Code

function page_manager_term_view_access_check($task, $subtask_id, $contexts) {
  return user_access('access content');
}