You are here

public function DefaultsSectionStorage::unsetThirdPartySetting in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php \Drupal\layout_builder\Plugin\SectionStorage\DefaultsSectionStorage::unsetThirdPartySetting()

Unsets a third-party setting.

Parameters

string $module: The module providing the third-party setting.

string $key: The setting name.

Return value

mixed The value.

Overrides ThirdPartySettingsInterface::unsetThirdPartySetting

File

core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php, line 366

Class

DefaultsSectionStorage
Defines the 'defaults' section storage type.

Namespace

Drupal\layout_builder\Plugin\SectionStorage

Code

public function unsetThirdPartySetting($module, $key) {
  $this
    ->getDisplay()
    ->unsetThirdPartySetting($module, $key);
  return $this;
}