You are here

public static function RestfulManager::echoMessage in RESTful 7.2

Helper function to echo static strings.

Parameters

DataInterpreterInterface $value: The resource value.

mixed $message: The string to relay.

Return value

mixed Returns $message

File

src/RestfulManager.php, line 236
Contains \Drupal\restful\RestfulManager.

Class

RestfulManager

Namespace

Drupal\restful

Code

public static function echoMessage(DataInterpreterInterface $value, $message) {
  return $message;
}