public function PluginSettingsBase::getThirdPartySetting in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Field/PluginSettingsBase.php \Drupal\Core\Field\PluginSettingsBase::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.
Overrides ThirdPartySettingsInterface::getThirdPartySetting
File
- core/
lib/ Drupal/ Core/ Field/ PluginSettingsBase.php, line 110 - Contains \Drupal\Core\Field\PluginSettingsBase.
Class
- PluginSettingsBase
- Base class for the Field API plugins.
Namespace
Drupal\Core\FieldCode
public function getThirdPartySetting($module, $key, $default = NULL) {
return isset($this->thirdPartySettings[$module][$key]) ? $this->thirdPartySettings[$module][$key] : $default;
}