function crm_core_contact_view_get_arguments in CRM Core 8.2
Same name and namespace in other branches
- 8 modules/crm_core_contact/legacy/plugins/tasks/view.inc \crm_core_contact_view_get_arguments()
- 7 modules/crm_core_contact/plugins/tasks/view.inc \crm_core_contact_view_get_arguments()
Callback to get arguments provided by this task handler.
Since this is the crm_core_contact view and there is no UI on the arguments, we create dummy arguments that contain the needed data.
1 string reference to 'crm_core_contact_view_get_arguments'
- crm_core_contact_view_page_manager_tasks in modules/
crm_core_contact/ legacy/ plugins/ tasks/ view.inc - Specialized implementation of hook_page_manager_task_tasks(). See api-task.html for more information.
File
- modules/
crm_core_contact/ legacy/ plugins/ tasks/ view.inc, line 122 - Handle the 'crm_core_contact view' override task.
Code
function crm_core_contact_view_get_arguments($task, $subtask_id) {
return array(
array(
'keyword' => 'crm_core_contact',
'identifier' => t('Contact being viewed'),
'id' => 1,
'name' => 'entity_id:crm_core_contact',
'settings' => array(),
),
);
}