[support] Default PHP Code for CCK field

Xavier Bestel xavier.bestel at free.fr
Thu Nov 1 23:15:18 UTC 2007


Le jeudi 01 novembre 2007 à 18:44 -0400, Chris McCreery a écrit :
> Ok I'm so lost here, does anyone know what I should be putting in
> here.

I'd say:

global $user;
return array(0 => array('uid' => $user['uid']));

but that's just from what you said in an earlier post.
I don't know much in Drupal.

	Xav




More information about the support mailing list