You are here

isotope_views.views.inc in Isotope (with Masonry and Packery) 7.2

Define the Views plugins.

File

isotope_views/isotope_views.views.inc
View source
<?php

/**
 * @file
 * Define the Views plugins.
 */

/**
 * Implements hook_views_plugins().
 */
function isotope_views_views_plugins() {
  return array(
    'style' => array(
      'isotope_grid' => array(
        'title' => t('Isotope Grid'),
        'help' => t('Display the results using the jQuery Isotope plugin'),
        'handler' => 'IsotopeViewsPluginStyleIsotopeGrid',
        'theme' => 'isotope_views_grid',
        'uses options' => TRUE,
        'uses row plugin' => TRUE,
        'uses fields' => TRUE,
        'uses grouping' => FALSE,
        'type' => 'normal',
        'theme file' => 'isotope_views.theme.inc',
      ),
      'isotope_filter' => array(
        'title' => t('Isotope Filter'),
        'help' => t('Display the results formatted to filter an Isotope View'),
        'handler' => 'IsotopeViewsPluginStyleIsotopeFilter',
        'theme' => 'isotope_views_filter',
        'uses options' => TRUE,
        'uses row plugin' => TRUE,
        'uses fields' => TRUE,
        'uses grouping' => FALSE,
        'type' => 'normal',
        'theme file' => 'isotope_views.theme.inc',
      ),
      'isotope_sorter' => array(
        'title' => t('Isotope Sort Block'),
        'help' => t('Display the results formatted to sort an Isotope View'),
        'handler' => 'IsotopeViewsPluginStyleIsotopeSorter',
        'theme' => 'isotope_views_sorter',
        'uses options' => TRUE,
        'uses row plugin' => TRUE,
        'uses fields' => TRUE,
        'uses grouping' => FALSE,
        'type' => 'normal',
        'theme file' => 'isotope_views.theme.inc',
      ),
    ),
  );
}

Functions