You are here

function crm_core_contact_context_registry in CRM Core 8

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

Implements hook_context_registry().

File

modules/crm_core_contact/legacy/crm_core_contact.context.inc, line 32
Integration with context module.

Code

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