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
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.

AttachmentSize
smackdown_nodeapi.patch903 bytes

#1

sirkitree - October 23, 2009 - 16:41
Status:needs review» fixed

committed http://drupal.org/cvs?commit=278840

#2

System Message - November 6, 2009 - 16:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.