Same name and namespace in other branches
  1. 8.9.x core/modules/taxonomy/taxonomy.module \taxonomy_node_insert()
  2. 9 core/modules/taxonomy/taxonomy.module \taxonomy_node_insert()

Implements hook_node_insert().

Related topics

File

modules/taxonomy/taxonomy.module, line 1916
Enables the organization of content into categories.

Code

function taxonomy_node_insert($node) {

  // Add taxonomy index entries for the node.
  taxonomy_build_node_index($node);
}