Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Regions Override

Security covered Under active development 25 sites

This module allows editors to control which regions appear on specific pages, such as hiding sidebars to give Layout Builder more space or removing all regions for a full-width custom layout. It provides options to disable sidebars, the body region, or all regions, with defaults configurable by content type and theme.

Disable regions like Sidebars from appearing on a specific page.

Occasionally it is helpful to allow an editor to choose to remove regions from rendering on a page. An example of this would be for a site that uses sidebars but also uses core's Layout Builder. Since Layout Builder only renders in the content region, an editor may want to disable a sidebar to allow Layout Builder to use the entire page width.

Another use case is for when an editor wants to overtake an entire page so that they can create it from top to bottom with Layout Builder for something unique like a splash page.

Features

  • Entity and Views pages will offer the ability to select how regions will display from four choices:
    1. Show all available regions
    2. No Sidebars
    3. Remove Body regions (Header and Footer remain)
    4. Remove all regions
  • An admin toolbar shortcut link will be available per page to override its regions.
  • Each node edit form can have the option to select its individual override via a field. This field can be removed on a content type's "Manage form display" page.
  • Each content type can have a default region override that will apply to all of its nodes unless a specific one chooses a different override.
  • Each theme can choose which regions belong to the 3 sections "header", "sidebar", and "footer". These are generic groupings used to determine what regions to hide.
  • The Primary Tabs (view, edit, delete) block will never be removed for an editor so that they do not lose the ability to edit content. Also, the Content region will always be displayed.
  • Content Type defaults are saved to config as ThirdPartySettings that can be exported. Each individual node or view override is saved as content so will not be part of config management.
  • Page theme suggestions are offered for each override type.

Basic Setup

  1. Enable the module (clear the cache if something isn't showing).
  2. Set permissions for the users roles that should be allowed to override regions.
  3. Set defaults on each node content type for how regions should display on the Content Type's "Edit" page.
  4. Edit a theme's settings and choose which regions belong to "header", "sidebar", and "footer" sections.

Ask your assistant about Regions Override

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
7
Tracked since
Jan 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-alpha7 Pre-release 8–11 May 21, 2024
1.0.0-alpha6 Pre-release 8–11 May 15, 2024
1.0.0-alpha5 Pre-release 8–11 Apr 24, 2024
1.0.0-alpha4 Pre-release 8–11 Apr 10, 2024
1.0.0-alpha3 Pre-release 8–11 Apr 9, 2024
1.0.0-alpha2 Pre-release 8–11 Apr 9, 2024
1.0.0-alpha1 Pre-release 8–10 Jan 18, 2024