You are here

public function FieldGroupFormatterBase::getLabel in Field Group 8

Same name and namespace in other branches
  1. 8.3 src/FieldGroupFormatterBase.php \Drupal\field_group\FieldGroupFormatterBase::getLabel()

Get the current label.

Return value

string

6 calls to FieldGroupFormatterBase::getLabel()
AccordionItem::preRender in src/Plugin/field_group/FieldGroupFormatter/AccordionItem.php
Allows the field group formatter to manipulate the field group array and attach the formatters rendering element.
Details::preRender in src/Plugin/field_group/FieldGroupFormatter/Details.php
Allows the field group formatter to manipulate the field group array and attach the formatters rendering element.
Fieldset::preRender in src/Plugin/field_group/FieldGroupFormatter/Fieldset.php
Allows the field group formatter to manipulate the field group array and attach the formatters rendering element.
HtmlElement::preRender in src/Plugin/field_group/FieldGroupFormatter/HtmlElement.php
Allows the field group formatter to manipulate the field group array and attach the formatters rendering element.
Tab::preRender in src/Plugin/field_group/FieldGroupFormatter/Tab.php
Allows the field group formatter to manipulate the field group array and attach the formatters rendering element.

... See full list

File

src/FieldGroupFormatterBase.php, line 75

Class

FieldGroupFormatterBase
Base class for 'Fieldgroup formatter' plugin implementations.

Namespace

Drupal\field_group

Code

public function getLabel() {
  return $this->label;
}