function FieldItemBase::getSettings
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::getSettings()
- 8.9.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::getSettings()
- 11.x core/lib/Drupal/Core/Field/FieldItemBase.php \Drupal\Core\Field\FieldItemBase::getSettings()
Returns the array of field settings.
Return value
array The array of settings.
7 calls to FieldItemBase::getSettings()
- CommentItem::fieldSettingsForm in core/
modules/ comment/ src/ Plugin/ Field/ FieldType/ CommentItem.php - Returns a form for the field-level settings.
- DecimalItem::fieldSettingsForm in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ DecimalItem.php - Returns a form for the field-level settings.
- DecimalItem::storageSettingsForm in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ DecimalItem.php - Returns a form for the storage-level settings.
- NumericItemBase::fieldSettingsForm in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ NumericItemBase.php - Returns a form for the field-level settings.
- NumericItemBase::getConstraints in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ NumericItemBase.php - Gets a list of validation constraints.
File
-
core/
lib/ Drupal/ Core/ Field/ FieldItemBase.php, line 98
Class
- FieldItemBase
- An entity field item.
Namespace
Drupal\Core\FieldCode
protected function getSettings() {
return $this->getFieldDefinition()
->getSettings();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.