Regions and blocks
We mentioned regions in the previous chapter, where we showed the block placement for the Olivero theme.
The regions that are available when a specific theme is enabled are defined by the .info.yml
file of the theme itself. For example, for Olivero, that file is core/themes/olivero/olivero.info.yml
and contains, among other things, these lines:
regions: header: Header primary_menu: 'Primary menu' secondary_menu: 'Secondary menu' hero: 'Hero (full width)' highlighted: Highlighted breadcrumb: Breadcrumb social: Social Bar content_above: Content Above content: Content sidebar: 'Sidebar' content_below: 'Content Below' footer_top: 'Footer Top' footer_bottom: 'Footer Bottom'
Now, check the same file for our custom theme (themes/alps_trips...