You are here

function hook_scald_index_node_atoms_alter in scald_index 7

This hook is invoked after gathering all atoms for a given node.

With this hook, other modules can add unfound atoms to the list before processing.

Parameters

object $node: The node for which atoms are gathered.

array $sids: The array of atoms SID.

1 invocation of hook_scald_index_node_atoms_alter()
scald_index_build_node_index in ./scald_index.module
Builds index for a given node.

File

./scald_index.api.php, line 18
Hooks for scald_index module.

Code

function hook_scald_index_node_atoms_alter($node, &$sids) {

  // Add some atoms.
}