public function WSConnectorSimpleHTTPWithLangReplacement::getCache in Web Service Data 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/WSConnector/WSConnectorSimpleHTTPWithLangReplacement.php \Drupal\wsdata\Plugin\WSConnector\WSConnectorSimpleHTTPWithLangReplacement::getCache()
Return cache cid for cases cache rules change.
Overrides WSConnectorBase::getCache
File
- src/
Plugin/ WSConnector/ WSConnectorSimpleHTTPWithLangReplacement.php, line 107
Class
- WSConnectorSimpleHTTPWithLangReplacement
- HTTP Connector.
Namespace
Drupal\wsdata\Plugin\WSConnectorCode
public function getCache() {
return $this->language_manager
->getCurrentLanguage(LanguageInterface::TYPE_CONTENT)
->getId();
}