Same name and namespace in other branches
  1. 8.9.x core/modules/field/src/FieldStorageConfigInterface.php \Drupal\field\FieldStorageConfigInterface::setSetting()
  2. 9 core/modules/field/src/FieldStorageConfigInterface.php \Drupal\field\FieldStorageConfigInterface::setSetting()

Sets the value for a field setting by name.

Parameters

string $setting_name: The name of the setting.

mixed $value: The value of the setting.

Return value

$this

File

core/modules/field/src/FieldStorageConfigInterface.php, line 83

Class

FieldStorageConfigInterface
Provides an interface defining a field storage entity.

Namespace

Drupal\field

Code

public function setSetting($setting_name, $value);