You are here

function page_manager_comment_reply_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

TRUE if the current user can access the page.

File

page_manager/plugins/tasks/comment_reply.inc, line 163

Code

function page_manager_comment_reply_access_check($task, $subtask_id, $contexts) {
  $context = reset($contexts);
  return TRUE;
}