Site Building

Use Layout Builder Restrictions to Configure Available Layouts and Blocks for Drupal 8, 9, and 10

The Layout Builder Restrictions module allows you to configure which layouts, and which blocks, should be available in the Layout Builder UI. This helps improve the user experience by removing blocks that you don't want someone to place into a layout. It also restricts which layouts are available for a content type. For example, you may allow an editor to change the layout for a blog page but restrict them to choosing between 1- or 2-column layouts. Yet, you can still provide a 3-column layout option for use in other scenarios.

In this tutorial we'll:

  • Install the Layout Builder Restrictions module
  • Learn how to curate the list of layouts for use on a per-content type basis
  • Restrict the list of blocks available for placement via Layout Builder's UI

By the end of this tutorial you'll know how to use the Layout Builder Restrictions module to curate the list of layout and block options available to editors in the Layout Builder UI.