public function DashboardSectionStorage::setThirdPartySetting in Dashboards with Layout Builder 2.0.x
Same name and namespace in other branches
- 8 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 274
Class
- DashboardSectionStorage
- Dashboard section storage.
Namespace
Drupal\dashboards\Plugin\SectionStorageCode
public function setThirdPartySetting($module, $key, $value) {
$this
->getDashboard()
->setThirdPartySetting($module, $key, $value);
return $this;
}