DrupalCon New Orleans 2016: Aha! Understanding and Using Render Arrays in Drupal 8
theme() has been a popular function used by Drupal developers since Drupal 4.7. Drupal 7 core calls theme() over 200 times alone. But theme() no longer exists in Drupal 8 and there is no object-oriented equivalent. If we can’t call theme(), how do we render our data with the Twig templates that we’re all so excited about? Render arrays. Every use of a Drupal 8 template starts with a render array and many variables within a template are render arrays themselves. While they did exist before Drupal 8, render arrays weren’t used as often as they should have been. They’re everywhere now, and for good reason. They provide many advantages over their deprecated counterpart. Unfortunately render arrays are a bit confusing and intimidating until that wonderful “aha moment” hits. This session aims to provide that moment. It will cover: what render arrays are and how to use them how render arrays become rendered markup why render arrays provide advantages over theme() best practices for using render arrays in a sustainable way other goodies, such as attaching assets and caching Because render arrays bridge the gap between the back and front ends, it’s important for developers on both sides to understand them. Previous experience with theme(), hook_theme(), preprocess functions, and/or templates in Drupal 7 will make this session easier to follow and understand.

DrupalCon New Orleans 2016: Typed Drupal - A great combination of Drupal 8 and PHP 7

DrupalCon Dublin 2016: HTTP/2: what no one is telling you

Drupal 8 Entities

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

DrupalCon Amsterdam 2014: Models & Service Layers; Hemoglobin & Hobgoblins

Webinar: Drupal 8 Debugging Techniques

Billionaire's WARNING: I'm SELLING. The Crash Is Already Here!

How To Think SO CLEARLY People Assume You're A Genius

DrupalCon New Orleans 2016: Lessons from WordPress Core

Keynote: After the AI Hype – What’s Real, and What’s Next - Richard Campbell - 2026

DrupalCon Los Angeles 2015: Drupal 8: The Crash Course

Most Ridiculous Worker Mistakes Caught on Camera

Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

Drupal 8 Theming - Part 17 - Regions and Blocks from Views

Drupal 8 Developer Training - 1. Introduction to Object Oriented Programming

AI Was Never About Helping You | Cory Doctorow

Drupal 8 Caching: A Developer’s Guide

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

Drupal 8 Day: Demystifying AJAX Callback Commands in Drupal 8

