function taxonomy_node_insert
Same name in other branches
- 7.x modules/taxonomy/taxonomy.module \taxonomy_node_insert()
- 9 core/modules/taxonomy/taxonomy.module \taxonomy_node_insert()
- 8.9.x core/modules/taxonomy/taxonomy.module \taxonomy_node_insert()
Implements hook_ENTITY_TYPE_insert() for node entities.
Related topics
File
-
core/
modules/ taxonomy/ taxonomy.module, line 197
Code
function taxonomy_node_insert(EntityInterface $node) {
// Add taxonomy index entries for the node.
taxonomy_build_node_index($node);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.