By default, Drupal provides a Title
field and a Body
field. We saw an example of this when we created our first Basic page
. However, we can add a wide array of fields to capture just about any type of content you can imagine.
Navigate back to the Basic page
content type by entering /admin/structure/types/manage/page/fields
or using the Admin toolbar and selecting Manage
| Structure
| Content types
and then the Manage fields
button for the Basic page
content type. We will get our first glimpse of what is known as the Field UI:
Remember I said there were two fields. Well, the Title field is a system field, so we won't see it displayed under Manage fields
, but keep in mind that it is required by every content type.
Every new field we add will be listed here and will display the LABEL
, MACHINE NAME
, and FIELD TYPE
. We can add fields, edit fields, and even delete fields from the Manage fields
page. One caveat is that depending on the field, we may not be able to delete it if we have...