You are here

function i18n_page_views_context_plugins in i18n page views 7

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

Implements hook_context_plugins().

Register our context plugins.

File

./i18n_page_views.module, line 44

Code

function i18n_page_views_context_plugins() {
  $plugins = array();
  $plugins['context_condition_i18n_views'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'i18n_page_views'),
      'file' => 'context_condition_i18n_views.inc',
      'class' => 'context_condition_i18n_views',
      'parent' => 'context_condition',
    ),
  );
  return $plugins;
}