Via doc for hook_nodeapi, only the first two parameters are required. Third and fourth must be defined as options or they cause errors when invoking hook_nodeapi with just the first two.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | diff-nodeapi-1979228.patch | 622 bytes | sheena.peng |
| #2 | diff-nodeapi-1979228.patch | 622 bytes | sheena.peng |
Comments
Comment #1
sheena.peng commentedComment #2
sheena.peng commentedComment #3
sheena.peng commentedComment #4
sheena.peng commentedComment #5
alan d. commentedYes you are correct.
Ref: http://api.drupal.org/api/drupal/developer!hooks!core.php/function/hook_...
Committed: 0ffadad on 6.x-2.x. Added a space in the "$page =NULL" to match the coding standards "$a = $b".
Nice, a member for just one day and you have had a commit credit! :)