Commanding Chaos for Coworking, Open Source and Creative Communities

Error message

  • Deprecated function: session_set_save_handler(): Providing individual callbacks instead of an object implementing SessionHandlerInterface is deprecated in drupal_session_initialize() (line 245 of includes/session.inc).
  • Deprecated function: Creation of dynamic property alpha_theme_container::$delta is deprecated in alpha_theme_container->__construct() (line 25 of sites/all/themes/contrib/omega/alpha/includes/base.inc).

Learning to Love Blocks Again | Drupal GovCon

Tue, 05/24/2016 - 18:43 -- rprice

With the release of Drupal 8, the core blocks system is now a powerful publishing system for content in sidebars or landing pages. Blocks have types, fields, revisions and many other benefits now that they are full Entities. If you are a coder, you'll be happy to know that these block types can also be created and extended using OOP techniques.

If you still use Drupal 7, have no fear! The Drupal 8 Block improvements are largely a port of the Bean module (Block Entities Aren't Nodes). Many of the techniques outlined in this session will be applicable to Drupal 7 with Beans.

In this session, you'll learn:

How to use custom blocks and block types
Reusabe blocks in multiple regions with different visibility rules
Deploying blocks as configuration
A brief demo of:
Creating Beans and Blocks in code (Drupal Console)
Custom administrative interfaces for your blocks
Custom templates for your block types

This session won't cover Panels, Context, Rule