function FieldItemListInterface::getSetting
Same name in other branches
- 9 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::getSetting()
- 8.9.x core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::getSetting()
- 10 core/lib/Drupal/Core/Field/FieldItemListInterface.php \Drupal\Core\Field\FieldItemListInterface::getSetting()
Returns the value of a given field setting.
Parameters
string $setting_name: The setting name.
Return value
mixed The setting value.
1 method overrides FieldItemListInterface::getSetting()
- FieldItemList::getSetting in core/
lib/ Drupal/ Core/ Field/ FieldItemList.php
File
-
core/
lib/ Drupal/ Core/ Field/ FieldItemListInterface.php, line 82
Class
- FieldItemListInterface
- Interface for fields, being lists of field items.
Namespace
Drupal\Core\FieldCode
public function getSetting($setting_name);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.