WSEncoderString.php in Web Service Data 2.0.x
Same filename and directory in other branches
Namespace
Drupal\wsdata\Plugin\WSEncoderFile
src/Plugin/WSEncoder/WSEncoderString.phpView source
<?php
namespace Drupal\wsdata\Plugin\WSEncoder;
use Drupal\wsdata\Plugin\WSEncoderBase;
/**
* String Encoder.
*
* @WSEncoder(
* id = "WSEncoderString",
* label = @Translation("String Encoder (Passes data as is)", context = "WSEncoder"),
* )
*/
class WSEncoderString extends WSEncoderBase {
/**
* Doesn't do anything.
*/
public function encode(&$data, &$replacements, &$url) {
}
}
Classes
Name | Description |
---|---|
WSEncoderString | String Encoder. |