public function WSConnectorLocalFile::getReplacements in Web Service Data 8
Same name and namespace in other branches
- 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\WSConnectorCode
public function getReplacements(array $options) {
return $this
->findTokens($this->endpoint . '/' . $options['filename']);
}