You are here

public function Section::setThirdPartySetting in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::setThirdPartySetting()
  2. 9 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::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

File

core/modules/layout_builder/src/Section.php, line 413

Class

Section
Provides a domain object for layout sections.

Namespace

Drupal\layout_builder

Code

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