You are here

function context_error_context_registry in Context error 7

Same name and namespace in other branches
  1. 6 context_error.module \context_error_context_registry()

Implements hook_context_registry().

File

./context_error.module, line 26
Implement triggers for 404 and 403 pages.

Code

function context_error_context_registry() {
  return array(
    'conditions' => array(
      'error' => array(
        'title' => t('404/403 error page'),
        'plugin' => 'context_error_context_condition_error',
      ),
    ),
  );
}