You are here

public function Tabs::getClasses in Field Group: Easy Responsive Tabs to Accordion 8

1 call to Tabs::getClasses()
Tabs::preRender in src/Plugin/field_group/FieldGroupFormatter/Tabs.php

File

src/Plugin/field_group/FieldGroupFormatter/Tabs.php, line 213

Class

Tabs
Plugin implementation of the 'ertta_tabs' formatter.

Namespace

Drupal\field_group_easy_responsive_tabs\Plugin\field_group\FieldGroupFormatter

Code

public function getClasses() {
  $classes = parent::getClasses();
  $classes[] = 'field-group-easy-responsive-tabs';
  $classes[] = 'field-group-easy-responsive-tabs-' . $this
    ->getSetting('type');
  $classes[] = 'field-group-' . $this->group->format_type . '-wrapper';
  return $classes;
}