function ViewsTranslatableTest::viewsPlugins
The views plugin definition. Override it if you test provides a plugin.
Overrides ViewsSqlTest::viewsPlugins
File
-
tests/
views_translatable.test, line 28
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',
),
),
);
}