function FormatterBase::getFieldSettings
Returns the array of field settings.
Return value
array The array of settings.
2 calls to FormatterBase::getFieldSettings()
- CommentDefaultFormatter::viewElements in core/modules/ comment/ src/ Plugin/ Field/ FieldFormatter/ CommentDefaultFormatter.php 
- Builds a renderable array for a field value.
- NumericFormatterBase::viewElements in core/lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ NumericFormatterBase.php 
- Builds a renderable array for a field value.
File
- 
              core/lib/ Drupal/ Core/ Field/ FormatterBase.php, line 156 
Class
- FormatterBase
- Base class for 'Field formatter' plugin implementations.
Namespace
Drupal\Core\FieldCode
protected function getFieldSettings() {
  return $this->fieldDefinition
    ->getSettings();
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
