function node_type_cache_reset
Clears the node type cache.
6 calls to node_type_cache_reset()
- node_menu in modules/
node/ node.module - Implements hook_menu().
- node_type_delete in modules/
node/ node.module - Deletes a node type from the database.
- node_type_save in modules/
node/ node.module - Saves a node type to the database.
- node_update_7004 in modules/
node/ node.install - Extend the existing default preview and teaser settings to all node types.
- node_update_7006 in modules/
node/ node.install - Convert body and teaser from node properties to fields, and migrate status/comment/promote and sticky columns to the {node_revision} table.
File
-
modules/
node/ node.module, line 784
Code
function node_type_cache_reset() {
cache_clear_all('node_types:', 'cache', TRUE);
drupal_static_reset('_node_types_build');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.