You are here

function crm_core_contact_context_plugins in CRM Core 7

Same name and namespace in other branches
  1. 8 modules/crm_core_contact/legacy/crm_core_contact.context.inc \crm_core_contact_context_plugins()
  2. 8.2 modules/crm_core_contact/legacy/crm_core_contact.context.inc \crm_core_contact_context_plugins()

Implements hook_context_plugins().

File

modules/crm_core_contact/crm_core_contact.context.inc, line 11
Integration with context module.

Code

function crm_core_contact_context_plugins() {
  $plugins = array();
  $plugins['crm_core_contact_context_condition_contact_type'] = array(
    'handler' => array(
      '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;
}