15 Sep
2006
15 Sep
'06
9:41 a.m.
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