You are here

public function ViewsTranslatableTest::viewsPlugins in Views (for Drupal 7) 7.3

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

Overrides ViewsSqlTest::viewsPlugins

File

tests/views_translatable.test, line 25
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' => drupal_get_path('module', 'views') . '/tests',
      ),
    ),
  );
}