You are here

public function WSConnectorLocalFile::getReplacements in Web Service Data 8

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

Return an array of replacements.

Overrides WSConnectorBase::getReplacements

File

src/Plugin/WSConnector/WSConnectorLocalFile.php, line 53

Class

WSConnectorLocalFile
Local file connector.

Namespace

Drupal\wsdata\Plugin\WSConnector

Code

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