[development] node_get_types() question
Gerhard Killesreiter
gerhard at killesreiter.de
Sun May 28 16:43:05 UTC 2006
AjK wrote:
>
>> 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?
>
I think so, yes.
Cheers,
Gerhard
More information about the development
mailing list