public function DefaultsSectionStorage::setThirdPartySetting in Drupal 9
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php \Drupal\layout_builder\Plugin\SectionStorage\DefaultsSectionStorage::setThirdPartySetting()
Sets the value of a third-party setting.
Parameters
string $module: The module providing the third-party setting.
string $key: The setting name.
mixed $value: The setting value.
Return value
$this
Overrides ThirdPartySettingsInterface::setThirdPartySetting
File
- core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ DefaultsSectionStorage.php, line 321
Class
- DefaultsSectionStorage
- Defines the 'defaults' section storage type.
Namespace
Drupal\layout_builder\Plugin\SectionStorageCode
public function setThirdPartySetting($module, $key, $value) {
$this
->getDisplay()
->setThirdPartySetting($module, $key, $value);
return $this;
}