Clears the node type cache.
function node_type_cache_reset() { cache() ->deleteTags(array( 'node_types' => TRUE, )); drupal_static_reset('_node_types_build'); }