[development] Update 4.7 to 5.0 question
AjK
drupal at f2s.com
Fri Sep 15 07:41:07 UTC 2006
Hi all,
http://drupal.org/node/64279#node-type-settings
>From the manual, given when ('node_type_form' == $form_id) :
Question, what's the difference between this
$node_type = $form['old_type']['#value'];
and this
$node_type = $form['identity']['type']['#default_value']
The former is what the upgrade guide says to do, the latter "looks" how it
really ought to be done and both appear to work (imho there's something just
not quite right about a variable called "old_type")
regards,
--AjK
More information about the development
mailing list