public function PluginSettingsBase::getSettings

Implements Drupal\field\Plugin\PluginSettingsInterface::getSettings().

Overrides PluginSettingsInterface::getSettings

6 calls to PluginSettingsBase::getSettings()

File

drupal/core/modules/field/lib/Drupal/field/Plugin/PluginSettingsBase.php, line 37
Definition of Drupal\field\Plugin\PluginSettingsBase.

Class

PluginSettingsBase
Base class for the Field API plugins.

Namespace

Drupal\field\Plugin

Code

public function getSettings() {

  // Merge defaults before returning the array.
  if (!$this->defaultSettingsMerged) {
    $this
      ->mergeDefaults();
  }
  return $this->settings;
}