function FieldStorageDefinitionInterface::getSetting

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::getSetting()
  2. 10 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::getSetting()
  3. 11.x core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::getSetting()

Returns the value of a given storage setting.

Parameters

string $setting_name: The setting name.

Return value

mixed The setting value.

1 method overrides FieldStorageDefinitionInterface::getSetting()
FieldStorageConfig::getSetting in core/modules/field/src/Entity/FieldStorageConfig.php
Returns the value of a given storage setting.

File

core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php, line 79

Class

FieldStorageDefinitionInterface
Defines an interface for entity field storage definitions.

Namespace

Drupal\Core\Field

Code

public function getSetting($setting_name);

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