public function WSConnectorBase::defaultCache in Web Service Data 8
Same name and namespace in other branches
- 2.0.x src/Plugin/WSConnectorBase.php \Drupal\wsdata\Plugin\WSConnectorBase::defaultCache()
Figure out the overrides for cache times.
File
- src/
Plugin/ WSConnectorBase.php, line 136
Class
- WSConnectorBase
- Base class for Wsconnector plugin plugins.
Namespace
Drupal\wsdata\PluginCode
public function defaultCache($mintime = 0, $override = FALSE, $stale = FALSE) {
$this->cacheDefaultTime = $mintime;
$this->cacheDefaultOverride = $override;
$this->staleCache = $stale;
}