You are here

function crm_core_contact_view_get_contexts in CRM Core 7

Same name and namespace in other branches
  1. 8 modules/crm_core_contact/legacy/plugins/tasks/view.inc \crm_core_contact_view_get_contexts()
  2. 8.2 modules/crm_core_contact/legacy/plugins/tasks/view.inc \crm_core_contact_view_get_contexts()

Callback to get context placeholders provided by this handler.

1 string reference to 'crm_core_contact_view_get_contexts'
crm_core_contact_view_page_manager_tasks in modules/crm_core_contact/plugins/tasks/view.inc
Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.

File

modules/crm_core_contact/plugins/tasks/view.inc, line 137
Handle the 'crm_core_contact view' override task.

Code

function crm_core_contact_view_get_contexts($task, $subtask_id) {
  return ctools_context_get_placeholders_from_argument(page_manager_crm_core_contact_view_get_arguments($task, $subtask_id));
}