protected FieldItemBase::getSetting($setting_name)
Returns the value of a field setting.
Parameters
string $setting_name: The setting name.
Return value
mixed The setting value.
File
- core/lib/Drupal/Core/Field/FieldItemBase.php, line 97
Class
- FieldItemBase
- An entity field item.
Namespace
Drupal\Core\Field
Code
protected function getSetting($setting_name) { return $this->getFieldDefinition()->getSetting($setting_name); }
Please login to continue.