hook_node_info is returning values for Drupal 4.7 API
joachim - July 22, 2008 - 10:19
| Project: | Module Builder |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
The generated hook_node_info looks like this:
/**
* Implementation of hook_node_info().
*/
function mymodule_node_info() {
return array('mymodule' => array('name' => t('readable name'), 'base' => 'mymodule'));
}'base' isn't defined as a key for the return array in either D5 or D6, but it's in the D4.7 API.

#1
Weird. I'm getting the definitions for D6 on D5, and you're getting those for D4.7...
Might be a duplicate of this: http://drupal.org/node/267197
#2
Marking as dupe. Please reopen if not.