Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Slots

14 sites Security covered Drupal 10–11
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.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
9
Tracked since
Oct 2024
Latest release
4 months ago
Releases (12 mo)
2 ▼ from 7
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.2.1 Stable 10–11 Apr 7, 2026
1.2.0 Stable 10–11 Jan 13, 2026
1.1.3 Stable 10–11 Jan 12, 2025
1.1.2 Stable 10–11 Dec 30, 2024
1.1.1 Stable 10–11 Dec 30, 2024
1.1.0 Stable 10–11 Dec 29, 2024
1.0.1 Stable 10–11 Nov 9, 2024
1.0.0 Stable 10–11 Nov 7, 2024
1.0.0-rc1 Pre-release 10–11 Oct 17, 2024