public function ServiceResource::getNoCache in Services 9.0.x
Same name and namespace in other branches
- 8.4 src/Entity/ServiceResource.php \Drupal\services\Entity\ServiceResource::getNoCache()
Get resource no caching option.
Return value
boolean
Overrides ServiceResourceInterface::getNoCache
File
- src/
Entity/ ServiceResource.php, line 126
Class
- ServiceResource
- Defines service resource entity.
Namespace
Drupal\services\EntityCode
public function getNoCache() {
if (isset($this->no_cache)) {
return $this->no_cache;
}
return $this
->getDefaultSettings()
->get('default_no_cache');
}