1 node.module node_type_cache_reset()

Clears the node type cache.

File

core/modules/node/node.module, line 738
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();
}