function insight_contentanalysis_autoanalyze_nodes in Insight 7
1 string reference to 'insight_contentanalysis_autoanalyze_nodes'
- insight_node_operations in ./
insight.module - Implements hook_node_operations().
File
- ./
insight.module, line 589
Code
function insight_contentanalysis_autoanalyze_nodes(array $nids, $op, array $options = array()) {
$options += array(
'message' => FALSE,
);
$nodes = node_load_multiple($nids);
foreach ($nodes as $node) {
insight_contentanalysis_autoanalyze($node);
}
if (!empty($options['message'])) {
drupal_set_message(format_plural(count($nids), 'Analyzed 1 node.', 'Analyzed @count nodes.'));
}
}