function DataDefinitionInterface::getSetting

Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getSetting()
  2. 10 core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getSetting()
  3. 11.x core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php \Drupal\Core\TypedData\DataDefinitionInterface::getSetting()

Returns the value of a given setting.

Parameters

string $setting_name: The setting name.

Return value

mixed The setting value.

2 methods override DataDefinitionInterface::getSetting()
DataDefinition::getSetting in core/lib/Drupal/Core/TypedData/DataDefinition.php
Returns the value of a given setting.
FieldConfigBase::getSetting in core/lib/Drupal/Core/Field/FieldConfigBase.php
Returns the value of a given setting.

File

core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php, line 145

Class

DataDefinitionInterface
Interface for data definitions.

Namespace

Drupal\Core\TypedData

Code

public function getSetting($setting_name);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.