You are here

public function FieldItemListInterface::getSetting in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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
Returns the value of a given field setting.

File

core/lib/Drupal/Core/Field/FieldItemListInterface.php, line 82
Contains \Drupal\Core\Field\FieldItemListInterface.

Class

FieldItemListInterface
Interface for fields, being lists of field items.

Namespace

Drupal\Core\Field

Code

public function getSetting($setting_name);