4.6.x bootstrap.inc cache_get($key)
4.7.x bootstrap.inc cache_get($key)
5.x cache.inc cache_get($key, $table = 'cache')
6.x cache.inc cache_get($cid, $table = 'cache')
6.x cache-install.inc cache_get($key, $table = 'cache')
7.x cache.inc cache_get($cid, $bin = 'cache')

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;
}