You are here

function i18nviews_i18n_object_info in Internationalization Views 7.3

Implements hook_i18n_object_info().

File

./i18nviews.i18n.inc, line 10
Internationalization (i18n) hooks

Code

function i18nviews_i18n_object_info() {
  $info['views'] = array(
    'title' => t('Views'),
    'class' => 'i18nviews',
    'key' => 'name',
    'string translation' => array(
      'textgroup' => 'views',
      'type' => 'views',
    ),
    // List of all known objects of this type
    'list callback' => 'views_get_all_views',
  );
  return $info;
}