You are here

public function RocketChatConfigInterface::setElement in Rocket.Chat 8

Same name and namespace in other branches
  1. 8.2 modules/rocket_chat_api/src/RocketChat/RocketChatConfigInterface.php \Drupal\rocket_chat_api\RocketChat\RocketChatConfigInterface::setElement()

Set an Element in the RocketChatConfigInterface.

Parameters

string $elementName: Key value to set in the RocketChatConfigInterface Backend.

string $newValue: the new Value to store.

2 methods override RocketChatConfigInterface::setElement()
Drupal8Config::setElement in modules/rocket_chat_api/src/RocketChat/Drupal8Config.php
Set an Element in the RocketChatConfigInterface.
InMemoryConfig::setElement in modules/rocket_chat_api/src/RocketChat/InMemoryConfig.php
Set an Element in the RocketChatConfigInterface.

File

modules/rocket_chat_api/src/RocketChat/RocketChatConfigInterface.php, line 41

Class

RocketChatConfigInterface
Interface to make an Arbitrary storage backend for the config elements.

Namespace

Drupal\rocket_chat_api\RocketChat

Code

public function setElement($elementName, $newValue);