function page_manager_blog_contact_user_access_check
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/ contact_user.inc, line 157
Code
function page_manager_blog_contact_user_access_check($task, $subtask_id, $contexts) {
$context = reset($contexts);
return _contact_personal_tab_access($context->data);
}