You are here

function taxonomy_node_insert in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 477
Enables the organization of content into categories.

Code

function taxonomy_node_insert(EntityInterface $node) {

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