hook_node_update_index(\Drupal\node\NodeInterface $node)
Act on a node being indexed for searching.
This hook is invoked during search indexing, after loading, and after the result of rendering is added as $node->rendered to the node object.
Parameters
\Drupal\node\NodeInterface $node: The node being indexed.
Return value
string Additional node information to be indexed.
Related topics
Entity CRUD, editing, and view hooks Hooks used in various entity operations. Hooks Define functions that