public function WSConnectorBase::expires in Web Service Data 8
Same name and namespace in other branches
- 2.0.x src/Plugin/WSConnectorBase.php \Drupal\wsdata\Plugin\WSConnectorBase::expires()
Get the expired time for caching.
File
- src/
Plugin/ WSConnectorBase.php, line 145
Class
- WSConnectorBase
- Base class for Wsconnector plugin plugins.
Namespace
Drupal\wsdata\PluginCode
public function expires() {
if ($this->expires > 0) {
return $this->expires;
}
else {
return FALSE;
}
}