You are here

function i18nviews_views_ui_display_top_links_alter in Internationalization Views 7.3

Implements hook_views_ui_display_top_links_alter().

Adds a translate link.

File

includes/i18nviews.views.inc, line 259

Code

function i18nviews_views_ui_display_top_links_alter(&$links, $view, $display_id) {
  $links['translate'] = array(
    'title' => t('translate view'),
    'href' => "admin/structure/views/view/{$view->name}/translate",
  );
}