Dude, where's my Panels?! Rediscovering layouts in Drupal 8 core

adamjuran

We know Panels is coming for Drupal 8, but when?! Three months after the first release candidate? six? more? And what about Context? and Display Suite?!?! That's right, odds are that none of these key layout modules that we know and love in Drupal 7, will be ready when Drupal 8 is released. But hope is not lost!! If you're like me, you don't want to wait. You want to theme a Drupal 8 site NOW! If that's the case, then this session is for YOU!!

Some questions you might be asking yourself:

  • How am I supposed to handle page layouts without my pals Panels and Page Manager?
  • How can I have one group of blocks ordered ABC on some pages, and BCA on others without Panels/Context?
  • How do I modify field templates without my beloved Display Suite Extras?

In this session, we'll answer all those and more! You will learn how to:

  • Control layout logic in preprocess or templates.
  • Contextually order blocks without Context module.
  • Extend TWIG's field templates to customize view mode markup.

You'll leave this session with more than just a few theming tricks; you'll leave with a deeper understanding of the Drupal 8 theming paradigm that will help get you started theming Drupal 8 sites today!!

 

 

Session Track

Site Building

Experience Level

Intermediate

Drupal Version