1.20.x node.module node_type_cache_reset()

Clears the node type cache.

File

modules/node/node.module, line 748
The core module that allows content to be submitted to the site.

Code

function node_type_cache_reset() {
  cache()->deletePrefix('node_types:');
  backdrop_static_reset('_node_types_build');
  entity_info_cache_clear();
}