In Drupal, we use the terminology of entity, and we have bundles inside an entity. As part of the Drupal core functionality, we have content types, which is in fact an entity type and therefore the Post content type is a bundle.
So, now that we are familiar with some basic Drupal terminology, let's move on to creating our Post
content type.
If you use the menu at the top and click on Manage
| Structure
| Content Types
, you will be taken to the Admin
page for Content types
:
Fig 1.1: The content type management page
By default, we have two content types in a standard Drupal installation (Basic page
and Article
). Article
is pretty much a Post
content type; however, for this, we shall ignore this and create our own content type entirely from scratch.
To create a new content type, click on + Add content type
:
Fig 1.2: The Add content type page
On this page, we are presented with some fields, which we use to set up how a content type works.
So, let's add the information...