public BlockBase::setConfigurationValue($key, $value)
Sets a particular value in the block settings.
@todo This doesn't belong here. Move this into a new base class in https://www.drupal.org/node/1764380. @todo This does not set a value in \Drupal::config(), so the name is confusing.
string $key: The key of PluginBase::$configuration to set.
mixed $value: The value to set for the provided key.
Overrides BlockPluginInterface::setConfigurationValue
\Drupal\Component\Plugin\PluginBase::$configuration
public function setConfigurationValue($key, $value) { $this->configuration[$key] = $value; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Block!BlockBase.php/function/BlockBase::setConfigurationValue/8.1.x