public function ServiceResource::getNoCache in Services 8.4
Same name and namespace in other branches
- 9.0.x src/Entity/ServiceResource.php \Drupal\services\Entity\ServiceResource::getNoCache()
Get resource no caching option.
Return value
bool
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');
}