function Section::getThirdPartySetting

Same name in other branches
  1. 9 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::getThirdPartySetting()
  2. 8.9.x core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::getThirdPartySetting()
  3. 11.x core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::getThirdPartySetting()

Overrides ThirdPartySettingsInterface::getThirdPartySetting

File

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

Class

Section
Provides a domain object for layout sections.

Namespace

Drupal\layout_builder

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.