function module_implements_write_cache
Writes the hook implementation cache.
See also
Related topics
2 calls to module_implements_write_cache()
- boot_test_1_boot in modules/
simpletest/ tests/ boot_test_1.module - Implements hook_boot().
- drupal_page_footer in includes/
common.inc - Performs end-of-request tasks.
File
-
includes/
module.inc, line 899
Code
function module_implements_write_cache() {
// The list of implementations includes vital modules only before full
// bootstrap, so do not write cache if we are not fully bootstrapped yet.
if (drupal_get_bootstrap_phase() != DRUPAL_BOOTSTRAP_FULL) {
return;
}
$implementations =& drupal_static('module_implements');
if (isset($implementations['#write_cache'])) {
unset($implementations['#write_cache']);
cache_set('module_implements', $implementations, 'cache_bootstrap');
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.