hook_nodeapi() passes in a $page param
Scott Reynolds - October 8, 2009 - 21:52
| Project: | Smackdown |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | minor |
| Assigned: | Scott Reynolds |
| Status: | closed |
Jump to:
Description
The fourth and last parameter passed into hook_nodeapi() is $page. This variable represents
$page Whether the node is being displayed by itself as a page.
Leverage that, makes it that very tiny bit more flexible.
| Attachment | Size |
|---|---|
| smackdown_nodeapi.patch | 903 bytes |

#1
committed http://drupal.org/cvs?commit=278840
#2
Automatically closed -- issue fixed for 2 weeks with no activity.