You are here

public function FieldStorageConfigInterface::setSetting in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 96
Contains \Drupal\field\FieldStorageConfigInterface.

Class

FieldStorageConfigInterface
Provides an interface defining a field storage entity.

Namespace

Drupal\field

Code

public function setSetting($setting_name, $value);