You are here

function i18n_page_views_context_registry in i18n page views 6

Same name and namespace in other branches
  1. 6.0 i18n_page_views.module \i18n_page_views_context_registry()
  2. 7 i18n_page_views.module \i18n_page_views_context_registry()

Implements hook_context_registry().

Provice a context condition plugin for i18n_page views.

File

./i18n_page_views.module, line 58

Code

function i18n_page_views_context_registry() {
  return array(
    'conditions' => array(
      'context_condition_i18n_views' => array(
        'title' => t('i18n Views'),
        'plugin' => 'context_condition_i18n_views',
        'description' => t('Set this context when displaying the page of one of these i18n views.'),
      ),
    ),
  );
}