function translation_views_handlers

2.x translation.views.inc translation_views_handlers()

Implementation of hook_views_handlers() to register all of the basic handlers views uses.

Related topics

File

modules/translation.views.inc, line 150
Provide views data and handlers for translation.module

Code

function translation_views_handlers() {
  return array(
    'info' => array(
      'path' => drupal_get_path('module', 'views') . '/modules/translation',
    ),
    'handlers' => array(
      // field handlers
      'views_handler_field_node_language' => array(
        'parent' => 'views_handler_field_node',
      ),
      'views_handler_field_node_link_translate' => array(
        'parent' => 'views_handler_field_node_link',
      ),
      // argument handlers
      'views_handler_argument_node_language' => array(
        'parent' => 'views_handler_argument',
      ),
      'views_handler_argument_node_tnid' => array(
        'parent' => 'views_handler_argument',
      ),
      // filters
      'views_handler_filter_node_language' => array(
        'parent' => 'views_handler_filter_in_operator',
      ),
      'views_handler_filter_node_tnid' => array(
        'parent' => 'views_handler_filter',
      ),
      // relationships
      'views_handler_relationship_translation' => array(
        'parent' => 'views_handler_relationship',
      ),
      'views_handler_filter_node_tnid_child' => array(
        'parent' => 'views_handler_filter',
      ),

    ),
  );
}