You are here

public function WSEncoderInterface::encode in Web Service Data 2.0.x

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

Modify the given data before the call.

1 method overrides WSEncoderInterface::encode()
WSEncoderBase::encode in src/Plugin/WSEncoderBase.php
Encode data into format just sending it off.

File

src/Plugin/WSEncoderInterface.php, line 15

Class

WSEncoderInterface
Defines an interface for Web Service Encoder plugins.

Namespace

Drupal\wsdata\Plugin

Code

public function encode(&$data, &$replacement, &$url);