Same name in this branch
  1. 6.x includes/cache.inc \cache_get()
  2. 6.x includes/cache-install.inc \cache_get()
Same name and namespace in other branches
  1. 4.6.x includes/bootstrap.inc \cache_get()
  2. 4.7.x includes/bootstrap.inc \cache_get()
  3. 5.x includes/cache.inc \cache_get()
  4. 7.x includes/cache.inc \cache_get()

A stub cache implementation to be used during the installation process when database access is not yet available. Because Drupal'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. Obviously, using this cache implementation during normal operations would have a negative impact on performance.

5 calls to cache_get()
book_menu_subtree_data in modules/book/book.module
Get the data representing a subtree of the book hierarchy.
menu_tree_all_data in includes/menu.inc
Get the data structure representing a named menu tree.
menu_tree_page_data in includes/menu.inc
Get the data structure representing a named menu tree, based on the current page.
page_get_cache in includes/bootstrap.inc
Retrieve the current page from the cache.
_theme_load_registry in includes/theme.inc
Get the theme_registry cache from the database; if it doesn't exist, build it.

File

includes/cache-install.inc, line 13

Code

function cache_get($key, $table = 'cache') {
  return FALSE;
}