public function PluginSettingsInterface::setSettings

Sets the settings for the plugin.

Parameters

array $settings: The array of settings, keyed by setting names. Missing settings will be assigned their default values.

Return value

Drupal\field\Plugin\PluginSettingsInterface The plugin itself.

1 method overrides PluginSettingsInterface::setSettings()

File

drupal/core/modules/field/lib/Drupal/field/Plugin/PluginSettingsInterface.php, line 54
Definition of Drupal\field\Plugin\PluginSettingsInterface.

Class

PluginSettingsInterface
Interface definition for plugin with settings.

Namespace

Drupal\field\Plugin

Code

public function setSettings(array $settings);