function PluginSettingsBase::getThirdPartySetting

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::getThirdPartySetting()
  2. 8.9.x core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::getThirdPartySetting()
  3. 10 core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::getThirdPartySetting()

Overrides ThirdPartySettingsInterface::getThirdPartySetting

File

core/lib/Drupal/Core/Field/PluginSettingsBase.php, line 105

Class

PluginSettingsBase
Base class for the Field API plugins.

Namespace

Drupal\Core\Field

Code

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

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