8.3.x ConfigEntityBase.php public ConfigEntityBase::setThirdPartySetting($module, $key, $value)
8.0.x ConfigEntityBase.php public ConfigEntityBase::setThirdPartySetting($module, $key, $value)
8.1.x ConfigEntityBase.php public ConfigEntityBase::setThirdPartySetting($module, $key, $value)
8.2.x ConfigEntityBase.php public ConfigEntityBase::setThirdPartySetting($module, $key, $value)
8.4.x ConfigEntityBase.php public ConfigEntityBase::setThirdPartySetting($module, $key, $value)

Sets the value of a third-party setting.

Parameters

string $module: The module providing the third-party setting.

string $key: The setting name.

mixed $value: The setting value.

Return value

$this

Overrides ThirdPartySettingsInterface::setThirdPartySetting

File

core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 533

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

public function setThirdPartySetting($module, $key, $value) {
  $this->third_party_settings[$module][$key] = $value;
  return $this;
}