I noticed that when using hook_node_types, to create more than one node types, hook_node_name may get $node, its parameter, not just as string and as object but as array also, which is not stated in the api (http://api.drupal.org/api/4.6/function/hook_node_name). If you don't expect $node to be an array you don't get the node type listed in the node/add page. This is, of course, if you use one unique hook_node_name function to declare all your node type names instead of one hook_node_name for each node type.
Is this specified somewhere else in the docs? Otherwise I would say it would need to be fixed in the api's, even if this function have been disappeared with 4.7.
Comments
Comment #1
bdragon commented4.6 is unmaintained. WONTFIXing, but anyone with a CVS account can feel free to add documentation for this, I guess.
Comment #2
anschinsan commented