A content type is a subtype of the content entity. When a content creator goes to add new content to the site, they are presented with a list of content types to choose from to get the appropriate form to fill out. Each content type defines the fields it contains, along with default content settings like submission form and publishing options. They each serve a particular content purpose on the site. For example, a site might have a different content type for blog posts, podcasts, and recipes, each with their own set of fields that pertain to that kind of content.
Example tasks
- Create a new content type
- Modify an existing content type, e.g., change the name of the Article content type to Blog post
- Create a new piece of content, like a blog post
Confidence
Content types are a very stable feature of Drupal core and do not change much, even between major Drupal versions.
Drupalize.Me resources
More information
Overview of content entities and fields.
More information
Overview of modular content and how content in a page can be sourced from other content items.
More information
How to plan a content structure that assigns content entity types to specific content on the website.
More information
How to add and configure a new content type.
More information
How to delete a content type that is not required for the site.
More information
Fields are the building blocks of Drupal's powerful content modeling system. The Field API allows for the development of custom field types to suit almost any data display and collection needs.
More information
Taxonomy in Drupal provides a way to classify your site’s content. Taxonomy vocabularies are created with terms within those vocabularies.
More information
Content modeling consists of identifying and constructing the different building blocks of data that compose the information on your site.
Drupal 7
More information
Goes through the default content types of the Article and Page that are provided in Drupal 7, and shows the similarities and differences between the two. Also goes through some of the configuration options, which define the default settings whenever a new node is created.
More information
Goes through the process of creating a new content type of a job posting, and shows how to customize the Title and Body labels for this new content type.
External resources
-
Node revisions (Drupal Wiki) (drupal.org)
- One of the options when configuring a content type is whether to turn on revisions. Learn more about Node revisions on this community documentation page.