You are here

public function WSDecoderString::decode in Web Service Data 2.0.x

Same name and namespace in other branches
  1. 8 src/Plugin/WSDecoder/WSDecoderString.php \Drupal\wsdata\Plugin\WSDecoder\WSDecoderString::decode()

Return data as is.

Overrides WSDecoderBase::decode

File

src/Plugin/WSDecoder/WSDecoderString.php, line 22

Class

WSDecoderString
String Decoder.

Namespace

Drupal\wsdata\Plugin\WSDecoder

Code

public function decode($data) {
  return $data;
}