Viewing posts tagged blocks

Release Day: Drupal 8 Blocks, Entities, and More

This week we continue our series of presentations on What's New in Drupal 8. We'll explore blocks, the entity API, the all new content authoring experience, and mobile and responsive features in Drupal core.

Creating Block Types with Bean

Whether you're a Drupal beginner or veteran module developer, one thing everyone understands about Drupal is the core block system is very limiting. There are lots of modules out there that attempt to make blocks more robust. Heck, site builders have even used Views as a complete block replacement. There is one module that makes blocks a ton more useful and that is the Bean module (Block Entities Aren't Nodes). The Bean module replaces a lot of modules we used in the past to give blocks more power and function. Drupal 8 even works just like the Bean module out of the box. Instead of using Views or making nodes blocks, Bean gives us fieldable block types.

Panels, Blocks, Layouts, and Drupal 8

Over the years of Drupal 8 development we've heard a lot of talk about "Panels in core" or "Blocks everywhere" or "Layout all the things!" and even SCOTCH(?). What does it all mean? Is Panels actually in core? Well, no, but there are some cool improvements in Drupal 8. I decided to follow the breadcrumb trail to figure out what this initiative was really about and how it ended up, now that Drupal 8 is in beta. Join me for a little bit of a trip back through the life of the Blocks and Layouts Everywhere (SCOTCH) Initiative.

The Block System is Finally Useful in Drupal 8

In Drupal 8, the entire block system got an overhaul, and there are lots of goodies in there. I took a tour of the new system with a short video. Some of the biggest changes to see are that you can now use blocks more than once on your site, and there is a new Custom block library that lets you create block types, which are very much like content types for blocks. They let you add fields to blocks, and give you more fine-grained control over how those fields are displayed depending on the location. Check out the video to see some of this in action.