You are here

public function DashboardSectionStorage::getThirdPartySetting 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::getThirdPartySetting()

Gets the value of a third-party setting.

Parameters

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

string $key: The setting name.

mixed $default: The default value

Return value

mixed The value.

Overrides ThirdPartySettingsInterface::getThirdPartySetting

File

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

Class

DashboardSectionStorage
Dashboard section storage.

Namespace

Drupal\dashboards\Plugin\SectionStorage

Code

public function getThirdPartySetting($module, $key, $default = NULL) {
  return $this
    ->getDashboard()
    ->getThirdPartySetting($module, $key, $default);
}