You are here

public function DashboardSectionStorage::setThirdPartySetting 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::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

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

Class

DashboardSectionStorage
Dashboard section storage.

Namespace

Drupal\dashboards\Plugin\SectionStorage

Code

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