Skip to content
Snippets Groups Projects

tab group content

3 files
+ 83
18
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -38,6 +38,13 @@ class ViewsBootstrapTab extends StylePluginBase {
*/
protected $usesRowPlugin = TRUE;
/**
* Does the style plugin support grouping of rows.
*
* @var bool
*/
protected $usesGrouping = FALSE;
/**
* Definition.
*/
@@ -66,6 +73,13 @@ class ViewsBootstrapTab extends StylePluginBase {
'#description' => $this->t('Select the field that will be used as the tab.'),
];
$form['tab_group'] = [
'#type' => 'checkbox',
'#title' => $this->t('Group by tab field'),
'#default_value' => $this->options['tab_group'],
'#description' => $this->t('If you want to group tabs by same values.'),
];
$form['tab_type'] = [
'#type' => 'select',
'#title' => $this->t('Tab Type'),
Loading