You are here

public function WSConnectorSimpleHTTPWithLangReplacement::getReplacements in Web Service Data 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/WSConnector/WSConnectorSimpleHTTPWithLangReplacement.php \Drupal\wsdata\Plugin\WSConnector\WSConnectorSimpleHTTPWithLangReplacement::getReplacements()

Return an array of replacements.

Overrides WSConnectorSimpleHTTP::getReplacements

File

src/Plugin/WSConnector/WSConnectorSimpleHTTPWithLangReplacement.php, line 56

Class

WSConnectorSimpleHTTPWithLangReplacement
HTTP Connector.

Namespace

Drupal\wsdata\Plugin\WSConnector

Code

public function getReplacements(array $options) {
  $replacements = parent::getReplacements($options);
  unset($replacements[array_search('LANGUAGE', $replacements)]);
  return $replacements;
}