public function DefaultsSectionStorage::getThirdPartySetting in Drupal 8
Same name and namespace in other branches
- 9 core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php \Drupal\layout_builder\Plugin\SectionStorage\DefaultsSectionStorage::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/ Plugin/ SectionStorage/ DefaultsSectionStorage.php, line 395
Class
- DefaultsSectionStorage
- Defines the 'defaults' section storage type.
Namespace
Drupal\layout_builder\Plugin\SectionStorageCode
public function getThirdPartySetting($module, $key, $default = NULL) {
return $this
->getDisplay()
->getThirdPartySetting($module, $key, $default);
}