W3cubDocs

/Drupal 8

protected function FormatterBase::getFieldSettings

protected FormatterBase::getFieldSettings()

Returns the array of field settings.

Return value

array The array of settings.

File

core/lib/Drupal/Core/Field/FormatterBase.php, line 136

Class

FormatterBase
Base class for 'Field formatter' plugin implementations.

Namespace

Drupal\Core\Field

Code

protected function getFieldSettings() {
  return $this->fieldDefinition->getSettings();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!FormatterBase.php/function/FormatterBase::getFieldSettings/8.1.x