function crm_core_contact_context_plugins in CRM Core 8
Same name and namespace in other branches
- 8.2 modules/crm_core_contact/legacy/crm_core_contact.context.inc \crm_core_contact_context_plugins()
- 7 modules/crm_core_contact/crm_core_contact.context.inc \crm_core_contact_context_plugins()
Implements hook_context_plugins().
File
- modules/
crm_core_contact/ legacy/ crm_core_contact.context.inc, line 16 - Integration with context module.
Code
function crm_core_contact_context_plugins() {
$plugins = [];
$plugins['crm_core_contact_context_condition_contact_type'] = [
'handler' => [
'path' => drupal_get_path('module', 'crm_core_contact') . '/includes/context',
'file' => 'crm_core_contact_context_condition_contact_type.inc',
'class' => 'crm_core_contact_context_condition_contact_type',
'parent' => 'context_condition',
],
];
return $plugins;
}