You are here

function crm_core_contact_context_registry 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_registry()
  2. 8.2 modules/crm_core_contact/legacy/crm_core_contact.context.inc \crm_core_contact_context_registry()

Implements hook_context_registry().

File

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

Code

function crm_core_contact_context_registry() {
  return array(
    'conditions' => array(
      'crm_core_contact_context_condition_contact_type' => array(
        'title' => t('CRM Core Contact Type'),
        'plugin' => 'crm_core_contact_context_condition_contact_type',
      ),
    ),
  );
}