Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Slots

13 sites Security covered
View on drupal.org

The Slots module allows you to create customizable content placeholders throughout your Drupal site. Content editors can then add various pieces of content into these slots based on specific conditions, without needing to alter the site's configuration. This provides a flexible way to manage content like calls-to-action or promotional banners across different areas and content types.

The Slots module provides "slot" placeholders that can be placed anywhere on your site — via Block UI, Layout Builder, Views, Paragraphs, or directly in Twig — and lets content editors "push" content into them based on configurable conditions, without that content needing to live in your site's configuration.

Typical use cases:

  • A placeholder in a layout where editors can drop in a CTA for a specific node type
  • A piece of content in a default layout that you don't want exported to config — place a slot instead and add the content later
  • Flexible CTAs inside Paragraphs, controlled entirely by conditions
  • Content above a view that editors manage independently of the view's configuration

Features

  • "Slot" placeable via Block UI or Layout Builder, with a configurable slot identifier and cardinality
  • Content is matched to slots via the reusable conditions condition system — combine the "Slot" condition with any other condition (request path, language, role, ...)
  • Not limited to blocks — any entity type can be made slot-aware by adding a "Slots" field
  • Sub-modules for Views integration (slots_views), Paragraphs (slots_paragraphs), and Twig (slots_twig, providing a slot() Twig function)
  • Drag-and-drop weight ordering for content competing for the same slot

Requirements

Getting started

Place a "Slot" via Block UI or Layout Builder and give it a slot identifier. Then add a "Slots" field to the entity type you want to use as slot content (e.g. a block content type), enable "This content shall be displayed in slots", and add a "Slot" condition with the matching identifier — the content will now appear wherever that slot is placed.

Activity

Total releases
2
First release
Jan 2026
Latest release
3 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.2.1 Stable Apr 7, 2026
1.2.0 Stable Jan 13, 2026