function ThirdPartySettingsInterface::getThirdPartySetting

Same name in other branches
  1. 9 core/lib/Drupal/Core/Config/Entity/ThirdPartySettingsInterface.php \Drupal\Core\Config\Entity\ThirdPartySettingsInterface::getThirdPartySetting()
  2. 8.9.x core/lib/Drupal/Core/Config/Entity/ThirdPartySettingsInterface.php \Drupal\Core\Config\Entity\ThirdPartySettingsInterface::getThirdPartySetting()
  3. 11.x core/lib/Drupal/Core/Config/Entity/ThirdPartySettingsInterface.php \Drupal\Core\Config\Entity\ThirdPartySettingsInterface::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.

4 methods override ThirdPartySettingsInterface::getThirdPartySetting()
ConfigEntityBase::getThirdPartySetting in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
Gets the value of a third-party setting.
PluginSettingsBase::getThirdPartySetting in core/lib/Drupal/Core/Field/PluginSettingsBase.php
Gets the value of a third-party setting.
Section::getThirdPartySetting in core/modules/layout_builder/src/Section.php
Gets the value of a third-party setting.
ViewUI::getThirdPartySetting in core/modules/views_ui/src/ViewUI.php
Gets the value of a third-party setting.

File

core/lib/Drupal/Core/Config/Entity/ThirdPartySettingsInterface.php, line 42

Class

ThirdPartySettingsInterface
Interface for configuration entities to store third party information.

Namespace

Drupal\Core\Config\Entity

Code

public function getThirdPartySetting($module, $key, $default = NULL);

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