You are here

public function ConfigEntityBase::setThirdPartySetting in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::setThirdPartySetting()

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

4 calls to ConfigEntityBase::setThirdPartySetting()
LayoutBuilderEntityViewDisplay::disableLayoutBuilder in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Disables the Layout Builder.
LayoutBuilderEntityViewDisplay::enableLayoutBuilder in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Enables the Layout Builder.
LayoutBuilderEntityViewDisplay::setOverridable in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Sets the display to allow or disallow overrides.
LayoutBuilderEntityViewDisplay::setSections in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Stores the information for all sections.

File

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

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