Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Implementation of hook_nodeapi().
- */
- function mymodule_nodeapi(&$node, $op, $a3, $a4) {
- switch ($op) {
- case 'presave':
- if ($node->type == 'client') {
- $node->title = 'Some Value';
- }
- break;
- }
- }
Add Comment
Please, Sign In to add comment