You are here

public function BlockPluginTrait::setConfigurationValue in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Block/BlockPluginTrait.php \Drupal\Core\Block\BlockPluginTrait::setConfigurationValue()
  2. 9 core/lib/Drupal/Core/Block/BlockPluginTrait.php \Drupal\Core\Block\BlockPluginTrait::setConfigurationValue()

File

core/lib/Drupal/Core/Block/BlockPluginTrait.php, line 112

Class

BlockPluginTrait
Provides the base implementation of a block plugin.

Namespace

Drupal\Core\Block

Code

public function setConfigurationValue($key, $value) {
  $this->configuration[$key] = $value;
}