function ViewsPluginStyleMappingTest::viewsPlugins
Overrides ViewsSqlTest::viewsPlugins
File
-
tests/
styles/ views_plugin_style_mapping.test, line 37
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' => drupal_get_path('module', 'views_test') . '/test_plugins',
'theme' => 'views_view_mapping_test',
'theme path' => drupal_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',
),
),
);
}