W3cubDocs

/Drupal 8

protected function FieldItemBase::getSettings

protected FieldItemBase::getSettings()

Returns the array of field settings.

Return value

array The array of settings.

File

core/lib/Drupal/Core/Field/FieldItemBase.php, line 84

Class

FieldItemBase
An entity field item.

Namespace

Drupal\Core\Field

Code

protected function getSettings() {
  return $this->getFieldDefinition()->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!FieldItemBase.php/function/FieldItemBase::getSettings/8.1.x