function semanticviews_views_plugins in Semantic Views 7
Same name and namespace in other branches
- 6 semanticviews.views.inc \semanticviews_views_plugins()
Implements hook_views_plugins().
File
- ./
semanticviews.views.inc, line 10 - Views Fields and Rows styles declaration.
Code
function semanticviews_views_plugins() {
return array(
'style' => array(
'semanticviews_default' => array(
'title' => t('Semantic Views'),
'help' => t('Displays rows one after another.'),
'handler' => 'semanticviews_plugin_style_default',
'theme' => 'semanticviews_view_unformatted',
'theme file' => 'semanticviews.theme.inc',
'theme path' => drupal_get_path('module', 'semanticviews'),
'uses row plugin' => TRUE,
'uses options' => TRUE,
'uses grouping' => TRUE,
'type' => 'normal',
'help topic' => 'style-unformatted',
),
),
'row' => array(
'semanticviews_fields' => array(
'title' => t('Semantic Views: Fields'),
'help' => t('Displays the fields with an optional template.'),
'handler' => 'semanticviews_plugin_row_fields',
'theme' => 'semanticviews_view_fields',
'theme file' => 'semanticviews.theme.inc',
'theme path' => drupal_get_path('module', 'semanticviews'),
'uses fields' => TRUE,
'uses options' => TRUE,
'type' => 'normal',
'help topic' => 'style-row-fields',
),
),
);
}