Creating a new region in your Drupal 8 theme

05:50
369
5
0
0
3
Sep 25, 2018

In this video, we are going to be creating a new region in our custom Drupal 8 theme.

If you liked this video, please also have a look at my new course about Drupal 8 module development here (with 50% discount):
https://goo.gl/LPyeDw

We are going to learn what regions are, which regions do we have by default, what happens if we remove a region and how to properly declare a region with an example.

The documentation of the page.html.twig you may find here:
https://api.drupal.org/api/drupal/core%21modules%21system%21templates%2…

A good article on drupal.org about how to create new regions:
https://www.drupal.org/docs/8/theming/adding-regions-to-a-theme

The full code of the theme you may find here:
https://github.com/drupal-up/drupalup_new_region

More videos and stuff you may find on http://drupal-up.com

To support us please, don't forget to share, subscribe, like and comment on the video!

Hi! I'm Karim Boudjema, the developer and site-builder of this site. I'm currently working as a freelance Drupal developer.

I was wondering how could I giving back to the Drupal community all what it gave to me during the last 10 years, that's how the idea of this site came to me ... (read more)

Hi! I’m Santiago Rico, the web designer and themer of this site.

When Karim proposed me to design and theme this site for the Drupal community, I accepted immediately because the community is the main reason why I love Drupal so much.