You are here

public function DashboardSectionStorage::unsetThirdPartySetting in Dashboards with Layout Builder 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/SectionStorage/DashboardSectionStorage.php \Drupal\dashboards\Plugin\SectionStorage\DashboardSectionStorage::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

src/Plugin/SectionStorage/DashboardSectionStorage.php, line 250

Class

DashboardSectionStorage
Dashboard section storage.

Namespace

Drupal\dashboards\Plugin\SectionStorage

Code

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