You are here

function tagadelic_views_views_plugins in Views Tagadelic 7

Same name and namespace in other branches
  1. 6 includes/tagadelic_views.views.inc \tagadelic_views_views_plugins()
  2. 7.2 tagadelic_views.views.inc \tagadelic_views_views_plugins()

Implements hook_views_plugins().

Defines some plugins used by the Views modes for user_reference.

File

./tagadelic_views.views.inc, line 9

Code

function tagadelic_views_views_plugins() {
  $plugins = array(
    'style' => array(
      'tagadelic' => array(
        'title' => t('Tagadelic list'),
        'help' => t('Displays terms as tagadelic.'),
        'handler' => 'tagadelic_plugin_style',
        'parent' => 'list',
        'theme' => 'views_view_list',
        //        'theme' => 'tagadelic_views_row',
        //        'theme path' => drupal_get_path('module', 'tagadelic_views'),
        //        'theme file' => 'tagadelic-views-row.tpl.php',
        'uses row plugin' => 'tagadelic_plugin_row_fields',
        //'uses row class' => FALSE,
        'uses options' => TRUE,
        'type' => 'normal',
      ),
    ),
  );
  return $plugins;
}