Defines a stub cache implementation.
The stub implementation is needed when database access is not yet available. Because Backdrop's caching system never requires that cached data be present, these stub functions can short-circuit the process and sidestep the need for any persistent storage. Using this cache implementation during normal operations would have a negative impact on performance.
This also can be used for testing purposes.
Hierarchy
- class BackdropNullCache implements BackdropCacheInterface
Expanded class hierarchy of BackdropNullCache
File
- drivers/
cache_null/ cache_null.inc, line 14