public function PluginSettingsBase::setSettings

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

Overrides PluginSettingsInterface::setSettings

File

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

Class

PluginSettingsBase
Base class for the Field API plugins.

Namespace

Drupal\field\Plugin

Code

public function setSettings(array $settings) {
  $this->settings = $settings;
  $this->defaultSettingsMerged = FALSE;
  return $this;
}