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 8 ■ <strong>Drupal</strong> Blocks<br />

On the “Add custom block” form, enter a description of the block in the “Block description” field; for<br />

this example, we’ll use “My First Custom Block.” Next enter “Hello World!” in the Body text area and then<br />

click the Save button. See Figure 8-7.<br />

Figure 8-7. Block settings for a custom block<br />

After saving the block, click the “Block layout” tab at the top of the page and look for your new block in<br />

the “Place blocks” box under the Custom category. Click the name of the block you created and assign the<br />

block to a region on the page. Click the “Save block button” and return to the homepage of your site where<br />

you’ll see the block you created in the region you specified (see Figure 8-8).<br />

97

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

Saved successfully!

Ooh no, something went wrong!