Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Object that functions as a container for all abstract content objects within your site, filtered by content type name.

content_objects is only callable as an attribute on the Site object.

content_objects.[:content_type_name]

Returns all Content Type kind: Abstract Content for the given content type name

E.g., when you have a content type with the (plural) name 'categories', site.content_objects.categories returns a collection object.

  • No labels