You are here

function context_domain_context_registry in Context Domain 7

Implements hook_context_registry().

File

./context_domain.module, line 23

Code

function context_domain_context_registry() {
  $registry = array();
  $registry['conditions'] = array(
    'domain' => array(
      'title' => t('Domain'),
      'description' => t('Set this context when any of the domains above match the domain used to access the page. Put each path on a separate line. You can use the "*" character as a wildcard and <code>~</code> to exclude one or more paths.'),
      'plugin' => 'context_domain',
    ),
  );
  return $registry;
}