function flag_nodes in Flag 5
Same name and namespace in other branches
- 6.2 flag.module \flag_nodes()
- 6 flag.module \flag_nodes()
- 7.3 flag.module \flag_nodes()
- 7.2 flag.module \flag_nodes()
Callback function for hook_node_operations().
1 string reference to 'flag_nodes'
- flag_node_operations in ./
flag.module - Implementation of hook_node_operations().
File
- ./
flag.module, line 579 - The Flag module.
Code
function flag_nodes($nodes, $action, $flag_name) {
foreach ($nodes as $nid) {
flag($action, $flag_name, $nid);
}
}