Content Types

What are content types?

Drupal defines a content type as a “pre-defined collection of data types (fields) which relate to each other by an informational context.” To put this simply, a content type is any content element on your site that requires its own unique fields and display, based on its purpose and the kind of content it contains.

Content types are a great way to address inconsistent formatting and streamline navigation, helping to eliminate user confusion.

 

Another way to understand how a content type works is with the Tupperware analogy. Imagine each content type is a Tupperware box, some may be large, some may be small, some may have many compartments like a bento box, and some may only have one or two compartments. Now imagine each compartment is a field that you fill in, for example, the date, the name of an event, or an image file. Once your Tupperware/content type is built, it acts as a mold and can easily be re-used to ensure consistency.


Your website includes news, contacts, parks and facilities, etc., as well as standard, informational pages—and each of these can be created using content types. Each one will have its own set of fields and place on the website, and will have one or more displays, such as a list (this may look like a filterable directory), map, calendar, or detail view.

Image