18.11.2015 Views

Beginning Drupal 8

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 5 ■ Content Types<br />

The first screen that appears when you click the “Add content type” button is a form that defines the<br />

general characteristics of your new content type (see Figure 5-3). There is a field for the name of the content<br />

type, a field for a description that describes the content type (the description is displayed on the author’s<br />

screen for creating new content), a field for the label of the title field, and several other configuration options<br />

that I will walk you through in detail.<br />

Figure 5-3. Content type creation form<br />

To begin the process, do the following:<br />

• Fill in the name of the content type, which in our case is “Event.” The text below the<br />

Name field provides a set of guidelines that you should follow when creating a name<br />

for a new content type.<br />

• Provide a description of how this content type should be used, such as “A content<br />

type used to capture the details about upcoming events.”<br />

• Change the “Title field label” from just Title to “Event Title,” making it more<br />

descriptive and intuitive to the author who will be using this template for authoring<br />

event information.<br />

• Leave the “Preview before submitting” setting as Optional.<br />

50<br />

• Provide a brief explanation of the submission guidelines for this content type. This<br />

is an optional value, and may not apply to your content type. For our Event content<br />

type, we will use “Please fill out all required fields before submitting the event” as the<br />

submission guidelines. You can choose to use or ignore this field when creating new<br />

content types.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!