You are here

public function FieldStorageConfigInterface::setSetting in Drupal 9

Same name and namespace in other branches
  1. 8 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

1 method overrides FieldStorageConfigInterface::setSetting()
FieldStorageConfig::setSetting in core/modules/field/src/Entity/FieldStorageConfig.php
Sets the value for a field setting by name.

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);