You are here

public function DefaultsSectionStorage::getThirdPartySetting 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::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

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

Class

DefaultsSectionStorage
Defines the 'defaults' section storage type.

Namespace

Drupal\layout_builder\Plugin\SectionStorage

Code

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