[development] node_get_types() question

AjK drupal at f2s.com
Sun May 28 16:40:28 UTC 2006



>   return array('janode' => array('name' => t("Jan's node"), 'base' =>
> 'janode'));
>
> is the code in question. IMHO there is a bug there somewhere, as
> "janode" should be used as the node type when inserting into the database.

Gerhard

Are you saying 'base' should be returned by node_get_types() and not 'name'
in this case?

If so, I can look at this and provide a patch if needed.

best regards
--AjK



More information about the development mailing list