You are here

function blazy_views_plugins_style_alter in Blazy 8

Same name and namespace in other branches
  1. 8.2 blazy.views.inc \blazy_views_plugins_style_alter()

Implements hook_views_plugins_style_alter().

File

./blazy.views.inc, line 36
Provides views data for blazy.module.

Code

function blazy_views_plugins_style_alter(array &$plugins) {
  $plugins['blazy'] = [
    'id' => 'blazy',
    'label' => 'Blazy Grid',
    'description' => t('Display the results in a Blazy grid.'),
    'class' => 'Drupal\\blazy\\Plugin\\views\\style\\BlazyViews',
    'display_types' => [
      'normal',
    ],
    'help' => t('Works best with Views field containing Blazy.'),
    'parent' => 'parent',
    'plugin_type' => 'style',
    'register_theme' => FALSE,
    'short_title' => 'Blazy',
    'title' => 'Blazy Grid',
    'provider' => 'blazy',
  ];
}