Mercurial > hg > rr-repo
diff sites/all/modules/semanticviews/semanticviews.views.inc @ 4:ce11bbd8f642
added modules
author | danieleb <danielebarchiesi@me.com> |
---|---|
date | Thu, 19 Sep 2013 10:38:44 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sites/all/modules/semanticviews/semanticviews.views.inc Thu Sep 19 10:38:44 2013 +0100 @@ -0,0 +1,38 @@ +<?php + +/** + * Implementation of hook_views_plugins(). + */ +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', + ), + ), + ); +}