You are here

function views_isotope_views_views_plugins in Brainstorm profile 7

Implements hook_views_plugins().

File

modules/custom/views_isotope/views/views_isotope_views.views.inc, line 11
Define the Views plugins.

Code

function views_isotope_views_views_plugins() {
  return [
    'style' => [
      'isotope_grid' => [
        'title' => t('Isotope Grid'),
        'help' => t('Display the results using the jQuery Isotope plugin'),
        'handler' => 'ViewsIsotopeViewsPluginStyleIsotopeGrid',
        'theme' => 'views_isotope_views_grid',
        'uses options' => TRUE,
        'uses row plugin' => TRUE,
        'uses fields' => TRUE,
        'uses grouping' => FALSE,
        'type' => 'normal',
        'theme file' => 'views_isotope_views.theme.inc',
      ],
      'isotope_filter' => [
        'title' => t('Isotope Filter'),
        'help' => t('Display the results formatted to filter an Isotope View'),
        'handler' => 'ViewsIsotopeViewsPluginStyleIsotopeFilter',
        'theme' => 'views_isotope_views_filter',
        'uses options' => TRUE,
        'uses row plugin' => TRUE,
        'uses fields' => TRUE,
        'uses grouping' => FALSE,
        'type' => 'normal',
        'theme file' => 'views_isotope_views.theme.inc',
      ],
      'isotope_sorter' => [
        'title' => t('Isotope Sort Block'),
        'help' => t('Display the results formatted to sort an Isotope View'),
        'handler' => 'ViewsIsotopeViewsPluginStyleIsotopeSorter',
        'theme' => 'views_isotope_views_sorter',
        'uses options' => TRUE,
        'uses row plugin' => TRUE,
        'uses fields' => TRUE,
        'uses grouping' => FALSE,
        'type' => 'normal',
        'theme file' => 'views_isotope_views.theme.inc',
      ],
    ],
  ];
}