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