Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PluginSettingsInterface.php

function PluginSettingsInterface::setSetting

Sets the value of a setting for the plugin.

Parameters

string $key: The setting name.

mixed $value: The setting value.

Return value

$this

1 method overrides PluginSettingsInterface::setSetting()
PluginSettingsBase::setSetting in core/lib/Drupal/Core/Field/PluginSettingsBase.php
Sets the value of a setting for the plugin.

File

core/lib/Drupal/Core/Field/PluginSettingsInterface.php, line 64

Class

PluginSettingsInterface
Interface definition for plugin with settings.

Namespace

Drupal\Core\Field

Code

public function setSetting($key, $value);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal