Working with Blocks
As we dive deeper into Mastering Drupal 8, we will begin to understand that almost all content is now contained within blocks . We can think of blocks as small sections of content that can be placed into regions, either defined by Drupal or defined by custom regions added to a theme. Drupal provides us with several types of block that contain the main navigation, site branding, Breadcrumbs, main page content, and more.
If you are familiar with blocks in Drupal 7, you will be happily surprised to find that blocks can now be reused. This gives us the flexibility of placing the same block into multiple regions based on the needs of our website. Another great feature of blocks in Drupal 8 is the ability to create custom blocks ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access