1 views_plugin_style_mapping.test protected ViewsPluginStyleMappingTest::viewsPlugins()

Overrides ViewsSqlTest::viewsPlugins

File

core/modules/views/tests/styles/views_plugin_style_mapping.test, line 21
Definition of ViewsPluginStyleMappingTest.

Class

ViewsPluginStyleMappingTest
Tests the default/mapping row style.

Code

protected function viewsPlugins() {
  return array(
    'style' => array(
      'test_mapping' => array(
        'title' => t('Field mapping'),
        'help' => t('Maps specific fields to specific purposes.'),
        'handler' => 'views_test_plugin_style_test_mapping',
        'path' => backdrop_get_path('module', 'views_test') . '/test_plugins',
        'theme' => 'views_view_mapping_test',
        'theme path' => backdrop_get_path('module', 'views_test'),
        'theme file' => 'views_test.module',
        'uses row plugin' => FALSE,
        'uses fields' => TRUE,
        'uses options' => TRUE,
        'uses grouping' => FALSE,
        'type' => 'normal',
      ),
    ),
  );
}