public function Section::getThirdPartySetting in Drupal 10
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::getThirdPartySetting()
- 9 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::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
File
- core/
modules/ layout_builder/ src/ Section.php, line 399
Class
- Section
- Provides a domain object for layout sections.
Namespace
Drupal\layout_builderCode
public function getThirdPartySetting($provider, $key, $default = NULL) {
return $this->thirdPartySettings[$provider][$key] ?? $default;
}