Hi there,

I'm using drupal 7, I would like to know whether there is an equivalent function for content_types($type_name = NULL) . In drupal6 this function was defined in /cck/content.module, line 1377. Can some one help me to figure this out?

Comments

Drave Robber’s picture

Not directly equivalent, bu if you need just their names, node_type_get_names() would do.

See also node_type_get_types().