1 search.module search_node_update(Node $node)

Implements hook_node_update().

File

core/modules/search/search.module, line 868
Enables site-wide keyword searching.

Code

function search_node_update(Node $node) {
  // Reindex the node when it is updated. The node is automatically indexed
  // when it is created, by being added to the node table.
  search_touch_node($node->nid);
}