Merges default settings values into $settings.
File
- drupal/core/modules/field/lib/Drupal/field/Plugin/PluginSettingsBase.php, line 59
- Definition of Drupal\field\Plugin\PluginSettingsBase.
Class
- PluginSettingsBase
- Base class for the Field API plugins.
Namespace
Drupal\field\Plugin
Code
protected function mergeDefaults() {
$this->settings += $this
->getDefaultSettings();
$this->defaultSettingsMerged = TRUE;
}