You are here

function isotope_views_views_plugins in Isotope (with Masonry and Packery) 7.2

Implements hook_views_plugins().

File

isotope_views/isotope_views.views.inc, line 10
Define the Views plugins.

Code

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