Hi,

I am wondering if there is a service which allows me to get all nodes of a certain type. For example: I need all nodes of type 'Page' only.

Thanks for any help!
JP Levac

Comments

carlosg2’s picture

Using views module, define a view with node type filter: "Page"
and use views.get service usin the name of the defined view.

gdd’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.