public function ConfigEntityBase::getThirdPartySetting in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php \Drupal\Core\Config\Entity\ConfigEntityBase::getThirdPartySetting()
Gets the value of a third-party setting.
Parameters
string $module: The module providing the third-party setting.
string $key: The setting name.
mixed $default: The default value
Return value
mixed The value.
Overrides ThirdPartySettingsInterface::getThirdPartySetting
3 calls to ConfigEntityBase::getThirdPartySetting()
- LayoutBuilderEntityViewDisplay::getSections in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php - Gets the layout sections.
- LayoutBuilderEntityViewDisplay::isLayoutBuilderEnabled in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php - Determines if Layout Builder is enabled.
- LayoutBuilderEntityViewDisplay::isOverridable in core/
modules/ layout_builder/ src/ Entity/ LayoutBuilderEntityViewDisplay.php - Determines if the display allows custom overrides.
File
- core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityBase.php, line 520
Class
- ConfigEntityBase
- Defines a base configuration entity class.
Namespace
Drupal\Core\Config\EntityCode
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;
}
}