You are here

public function WSConnectorSimpleHTTP::getReplacements in Web Service Data 8

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

Return an array of replacements.

Overrides WSConnectorBase::getReplacements

1 call to WSConnectorSimpleHTTP::getReplacements()
WSConnectorSimpleHTTPWithLangReplacement::getReplacements in src/Plugin/WSConnector/WSConnectorSimpleHTTPWithLangReplacement.php
Return an array of replacements.
3 methods override WSConnectorSimpleHTTP::getReplacements()
WSConnectorGraphQL::getReplacements in src/Plugin/WSConnector/WSConnectorGraphQL.php
Return an array of replacements.
WSConnectorSimpleHTTPWithLangReplacement::getReplacements in src/Plugin/WSConnector/WSConnectorSimpleHTTPWithLangReplacement.php
Return an array of replacements.
WSConnectorSOAP::getReplacements in src/Plugin/WSConnector/WSConnectorSOAP.php
Return an array of replacements.

File

src/Plugin/WSConnector/WSConnectorSimpleHTTP.php, line 94

Class

WSConnectorSimpleHTTP
HTTP Connector.

Namespace

Drupal\wsdata\Plugin\WSConnector

Code

public function getReplacements(array $options) {
  return $this
    ->findTokens($this->endpoint . '/' . $options['path']);
}