You are here

public function LayoutParagraphsLayout::getThirdPartySetting in Layout Paragraphs 2.0.x

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/LayoutParagraphsLayout.php, line 504

Class

LayoutParagraphsLayout
Provides a domain object for a complete Layout Paragraphs Layout.

Namespace

Drupal\layout_paragraphs

Code

public function getThirdPartySetting($provider, $key, $default = NULL) {
  return isset($this->thirdPartySettings[$provider][$key]) ? $this->thirdPartySettings[$provider][$key] : $default;
}