function ConfigEntityBase::setThirdPartySetting

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::setThirdPartySetting()
  2. 8.9.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::setThirdPartySetting()
  3. 11.x core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::setThirdPartySetting()

Overrides ThirdPartySettingsInterface::setThirdPartySetting

4 calls to ConfigEntityBase::setThirdPartySetting()
LayoutBuilderEntityViewDisplay::disableLayoutBuilder in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
LayoutBuilderEntityViewDisplay::enableLayoutBuilder in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
LayoutBuilderEntityViewDisplay::setOverridable in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
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 509

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.