Book Image

Learning Drupal 8

By : Nick Abbott
Book Image

Learning Drupal 8

By: Nick Abbott

Overview of this book

Drupal 8 sets a new standard for ease of use, while offering countless new ways to tailor and deploy your content to the Web. Drupal 8 allows user to easily customize data structures, listings, and pages, and take advantage of new capabilities for displaying data on mobile devices, building APIs, and adapting to multilingual needs. The book takes you step by step through building a Drupal 8 website. Start with the basics, such as setting up a local “stack” development environment and installing your first Drupal 8 site, then move on to image and media handling, and extending Drupal modules. Push your knowledge by getting to grips with the modular nature of Drupal, and learning to extend it by adding new functionalities to create your new modules. By the end of the book, you will be able to develop and manage a modern and responsive website using Drupal.
Table of Contents (21 chapters)
Learning Drupal 8
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Articles


The only other Content type that is available out of the box with Drupal 8 is the Article.

We touched on this content type earlier in Chapter 4, Getting Started with the UI, but that was only in a simple example. This time you'll look at them in more detail.

Creating a new article

To create a new Article, navigate to Shortcuts | Add content | Article.

Let's look at the extra fields you get with an Article that didn't appear when we created Basic pages earlier. You'll create an article about the company pet as a vehicle for investigating what's different about Articles nodes.

In addition to the Title and Body fields, the Article caters for categorizing the article content using one or more "tags", and it also provides an image field so that you can attach an image to the article.

Add a Title and some Body text:

Tag the article with a couple of keywords:

Finally, upload a suitable picture (the exact one here is available in the book resource ZIP file), and add an image with accompanying Alt...