You are here

public function Drupal8Config::getJsonDecoder in Rocket.Chat 8.2

Same name and namespace in other branches
  1. 8 modules/rocket_chat_api/src/RocketChat/Drupal8Config.php \Drupal\rocket_chat_api\RocketChat\Drupal8Config::getJsonDecoder()

Get a function pointer to the function to use for JsonDecodeing.

Return value

mixed Result array

Overrides RocketChatConfigInterface::getJsonDecoder

File

modules/rocket_chat_api/src/RocketChat/Drupal8Config.php, line 165

Class

Drupal8Config
Class Drupal8Config connects the API with the drupal system.

Namespace

Drupal\rocket_chat_api\RocketChat

Code

public function getJsonDecoder() {
  return '\\Drupal\\Component\\Serialization\\Json::decode';
}