You are here

semanticviews.views.inc in Semantic Views 7

Same filename and directory in other branches
  1. 6 semanticviews.views.inc

Views Fields and Rows styles declaration.

File

semanticviews.views.inc
View source
<?php

/**
 * @file
 * Views Fields and Rows styles declaration.
 */

/**
 * Implements 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',
      ),
    ),
  );
}

Functions