function gridstack_views_plugins_style_alter in GridStack 8
Same name and namespace in other branches
- 8.2 gridstack.views.inc \gridstack_views_plugins_style_alter()
Implements hook_views_plugins_style_alter().
File
- ./
gridstack.views.inc, line 11 - Provides views data for gridstack.module.
Code
function gridstack_views_plugins_style_alter(array &$plugins) {
$plugins['gridstack'] = [
'id' => 'gridstack',
'label' => 'GridStack',
'description' => t('Display the results in a GridStack.'),
'class' => 'Drupal\\gridstack\\Plugin\\views\\style\\GridStackViews',
'display_types' => [
'normal',
],
'help' => t('Displays the Views results as a GridStack.'),
'parent' => 'parent',
'plugin_type' => 'style',
'register_theme' => FALSE,
'theme' => 'gridstack',
'short_title' => 'GridStack',
'title' => 'GridStack',
'provider' => 'gridstack',
];
}