You are here

interface WSEncoderInterface in Web Service Data 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/WSEncoderInterface.php \Drupal\wsdata\Plugin\WSEncoderInterface

Defines an interface for Web Service Encoder plugins.

Hierarchy

Expanded class hierarchy of WSEncoderInterface

All classes that implement WSEncoderInterface

File

src/Plugin/WSEncoderInterface.php, line 10

Namespace

Drupal\wsdata\Plugin
View source
interface WSEncoderInterface extends PluginInspectionInterface {

  /**
   * Modify the given data before the call.
   */
  public function encode(&$data, &$replacement, &$url);

}

Members

Namesort descending Modifiers Type Description Overrides
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2
WSEncoderInterface::encode public function Modify the given data before the call. 1