Closed (fixed)
Project:
Documentation
Component:
Documentation in CVS
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2006 at 02:50 UTC
Updated:
12 Apr 2007 at 11:20 UTC
Attached patch updates contributions/docs/developer/examples/nodeapi_example.module for CVS HEAD. Please review, especially the code that determines the content-type:
if ($form_id == 'node_type_form') {
$type = $form['old_type']['#value'];
} else {
$type = $form['type']['#value'];
}
This change relates to system-defined content-types not having [type][#value] as described in http://drupal.org/node/80891
| Comment | File | Size | Author |
|---|---|---|---|
| nodeapi_example.module_1.patch | 3.21 KB | lyricnz |
Comments
Comment #1
lyricnz commentedObsolete, closing