public function PluginSettingsInterface::getSetting

Returns the value of a setting, or its default value if absent.

Parameters

string $key: The setting name.

Return value

mixed The setting value.

1 method overrides PluginSettingsInterface::getSetting()

File

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

Class

PluginSettingsInterface
Interface definition for plugin with settings.

Namespace

Drupal\field\Plugin

Code

public function getSetting($key);