[development] Node Types

Khalid B kb at 2bits.com
Sun May 7 14:36:45 UTC 2006


Check this http://api.drupal.org/api/HEAD/function/node_get_types

On 5/7/06, Dan Ziemecki <dan at ziemecki.com> wrote:
> I need to generate a list of active node types for a site, and I'm not sure
> how to go about doing that.  What I need is an array something like this:
>
> $ntypes = array('blog','forum','flexi','page','story')
>
> The end result would be a list of possible node types a person would be able
> to subscribe to using the Subscriptions module.
>
> Any ideas how I might be able to find out which nodes are available for
> subscription?


More information about the development mailing list