1 views_translatable.test public ViewsTranslatableTest::viewsPlugins()

The views plugin definition. Override it if you test provides a plugin.

Overrides ViewsSqlTest::viewsPlugins

File

core/modules/views/tests/views_translatable.test, line 20
Definition of ViewsTranslatableTest.

Class

ViewsTranslatableTest
Tests Views pluggable translations.

Code

public function viewsPlugins() {
  return array(
    'localization' => array(
      'test' => array(
        'no ui' => TRUE,
        'title' => t('Test'),
        'help' => t('This is a test description.'),
        'handler' => 'views_plugin_localization_test',
        'parent' => 'parent',
        'path' => backdrop_get_path('module', 'views') . '/tests',
      ),
    ),
  );
}