Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Simple Block

Security covered Under active development 4,449 sites

This module allows you to create blocks that are stored as configuration entities rather than content. This makes them easy to manage with Drupal's configuration system. An optional sub-module integrates with Layout Builder, letting you create and configure these blocks directly within the layout interface.

Description

The module provides a block plugin that produces blocks based on config entities. Unlike the core Block Content (block_content), this module stores the blocks as config entities rather than content. This has some advantages when you need to provide blocks using the config management. Each block is identified by a unique string ID machine name string and contains only a title and a formatted text area.

Layout Builder integration

By installing the Simple Block + Layout Builder (simple_block_layout_builder) sub-module, such blocks can be created directly in the Layout Builder UI.

Dependencies

  • Filter (filter),
  • Block (block). This dependency will be removed in #3206088,
  • Layout Builder (layout_builder). Only for Simple Block + Layout Builder (simple_block_layout_builder) sub-module.

Usage

  • Visit the /admin/structure/block/simple-block UI and add blocks.
  • Such blocks can be exported as config YAMLs in your config sync directory and deployed as configuration to other environments.
  • In order to create such blocks directly from Layout Builder, install the simple_block_layout_builder sub-module. A new Create simple block link will appear when clicking Add block in a section. The content of the block can be also edited from the Layout Builder UI, by clicking the Configure contextual menu link. Note that such blocks are not automatically deleted when they are removed from the layout. This will be handled in #3206910.

Maintainers

Drupal 9–11

Ask your assistant about Simple Block

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

  • block Drupal core
  • filter Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Release Timeline

Releases

Version Type Core PHP Release date
8.x-1.7 Stable 9–11 Aug 7, 2024
8.x-1.6 Stable 9–10 Feb 22, 2024
2.0.x-dev Dev 9–10 Feb 22, 2024
8.x-1.5 Stable 9–10 Jan 25, 2024