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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 8 ■ <strong>Drupal</strong> Blocks<br />

Figure 8-1. See if you can spot the blocks<br />

This example includes a menu block (Main navigation), interactive blocks (Search and User login), and<br />

informational blocks (Who’s new, Recent content, Recent comments, and Powered by <strong>Drupal</strong>).<br />

Let’s take a look at the blocks that come with <strong>Drupal</strong> 8 and assign a few of those blocks to regions on<br />

your site. We’ll then install a module or two that provide cool blocks that you can add to your site, and then<br />

we’ll create a custom block from scratch.<br />

Finding the List of Available Blocks<br />

To find the list of blocks that are available for you to use on your new website, click the Manage link at the<br />

top of the page, then click the Structure link in the secondary menu. This takes you to the Structure page.<br />

On the Structure page, click the “Block layout” link to reveal the “Block layout” page, which lists all the<br />

defined blocks on your system, including those that are already assigned to regions and those that are not<br />

assigned to a region. See Figure 8-2.<br />

92

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

Saved successfully!

Ooh no, something went wrong!