You are here

public function Section::getThirdPartySettings in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::getThirdPartySettings()

Gets all third-party settings of a given module.

Parameters

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

Return value

array An array of key-value pairs.

Overrides ThirdPartySettingsInterface::getThirdPartySettings

File

core/modules/layout_builder/src/Section.php, line 400

Class

Section
Provides a domain object for layout sections.

Namespace

Drupal\layout_builder

Code

public function getThirdPartySettings($provider) {
  return isset($this->thirdPartySettings[$provider]) ? $this->thirdPartySettings[$provider] : [];
}