function crm_core_user_sync_views_plugins in CRM Core 7
Same name and namespace in other branches
- 8.2 modules/crm_core_user_sync/views/crm_core_user_sync.views.inc \crm_core_user_sync_views_plugins()
Implements hook_views_plugins().
File
- modules/
crm_core_user_sync/ views/ crm_core_user_sync.views.inc, line 11 - Provides support for the Views module.
Code
function crm_core_user_sync_views_plugins() {
return array(
'argument default' => array(
'crm_core_user_sync_url' => array(
'title' => t('CRM Contact ID (from user ID from URL)'),
'handler' => 'views_plugin_argument_default_contact_id',
'parent' => 'views_plugin_argument_default',
),
'crm_core_user_sync_user' => array(
'title' => t('CRM Contact ID (from current user)'),
'handler' => 'views_plugin_argument_default_contact_id_from_user',
'parent' => 'views_plugin_argument_default',
),
),
);
}