function ConfigEntityBase::getThirdPartySetting

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

Overrides ThirdPartySettingsInterface::getThirdPartySetting

3 calls to ConfigEntityBase::getThirdPartySetting()
LayoutBuilderEntityViewDisplay::getSections in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
LayoutBuilderEntityViewDisplay::isLayoutBuilderEnabled in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
LayoutBuilderEntityViewDisplay::isOverridable in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php

File

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

Class

ConfigEntityBase
Defines a base configuration entity class.

Namespace

Drupal\Core\Config\Entity

Code

public function getThirdPartySetting($module, $key, $default = NULL) {
    if (isset($this->third_party_settings[$module][$key])) {
        return $this->third_party_settings[$module][$key];
    }
    else {
        return $default;
    }
}

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