You are here

function select_translation_views_data_alter in Select translation 7

Same name and namespace in other branches
  1. 8 select_translation.views.inc \select_translation_views_data_alter()

Implements hook_views_data_alter().

File

./select_translation.views.inc, line 10
Views related hooks.

Code

function select_translation_views_data_alter(&$cache) {
  $cache['node']['select_translation'] = array(
    'group' => t('Content translation'),
    'title' => t('Select translation'),
    'help' => t('For all the nodes representing a translation of the same content, only display one of the nodes'),
    'filter' => array(
      'handler' => 'select_translation_filter_handler',
    ),
  );
}