public function Accordion::settingsSummary in Field Group 8
Same name and namespace in other branches
- 8.3 src/Plugin/field_group/FieldGroupFormatter/Accordion.php \Drupal\field_group\Plugin\field_group\FieldGroupFormatter\Accordion::settingsSummary()
Returns a short summary for the current formatter settings.
If an empty result is returned, a UI can still be provided to display a settings form in case the formatter has configurable settings.
Return value
array() A short summary of the formatter settings.
Overrides FieldGroupFormatterBase::settingsSummary
File
- src/
Plugin/ field_group/ FieldGroupFormatter/ Accordion.php, line 70
Class
- Accordion
- Plugin implementation of the 'accordion' formatter.
Namespace
Drupal\field_group\Plugin\field_group\FieldGroupFormatterCode
public function settingsSummary() {
$summary = array();
$summary[] = $this
->t('Effect : @effect', array(
'@effect' => $this
->getSetting('effect'),
));
return $summary;
}