You are here

protected function ViewsPluginStyleMappingTest::viewsPlugins in Views (for Drupal 7) 7.3

Overrides ViewsSqlTest::viewsPlugins

File

tests/styles/views_plugin_style_mapping.test, line 31
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' => 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',
      ),
    ),
  );
}