function draggableviews_nodeapi in DraggableViews 6.3
Implementing hook_nodeapi
File
- ./
draggableviews.module, line 562 - Draggableviews module provides a style plugin for views. With this plugin rows become draggable and can be organized in complex structures.
Code
function draggableviews_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
// Remove nodes from the structure if they are deleted.
if ($op == 'delete') {
db_query('DELETE FROM {draggableviews_structure} WHERE nid = %d', $node->nid);
}
}