public function Tabs::getClasses in Field Group 8.3
Same name and namespace in other branches
- 8 src/Plugin/field_group/FieldGroupFormatter/Tabs.php \Drupal\field_group\Plugin\field_group\FieldGroupFormatter\Tabs::getClasses()
Get the classes to add to the group.
Overrides FieldGroupFormatterBase::getClasses
1 call to Tabs::getClasses()
- Tabs::process in src/
Plugin/ field_group/ FieldGroupFormatter/ Tabs.php - Allows the field group formatter to manipulate the field group array and attach the formatters elements. The process method is called in the #process part of theme layer, and is currently used for forms. The preRender method is called in the…
File
- src/
Plugin/ field_group/ FieldGroupFormatter/ Tabs.php, line 143
Class
- Tabs
- Plugin implementation of the 'horizontal_tabs' formatter.
Namespace
Drupal\field_group\Plugin\field_group\FieldGroupFormatterCode
public function getClasses() {
$classes = parent::getClasses();
$classes[] = 'field-group-' . $this->group->format_type . '-wrapper';
return $classes;
}