Implements Drupal\field\Plugin\PluginSettingsInterface::getSetting().
Overrides PluginSettingsInterface::getSetting
public function getSetting($key) {
// Merge defaults if we have no value for the key.
if (!$this->defaultSettingsMerged && !array_key_exists($key, $this->settings)) {
$this
->mergeDefaults();
}
return isset($this->settings[$key]) ? $this->settings[$key] : NULL;
}