placeBlockInDefaultTheme config action: add documentation and tests for applying block settings

Created on 24 June 2025, 3 days ago

Problem/Motivation

The current recipe system documentation does not include mention of the capability to apply block settings when using placeBlockInDefaultTheme/placeBlockInAdminTheme, even though that capability exists. It is useful for recipes to set additional settings when placing a block, such as when placing the branding block:

config:
  actions:
    block.block.branding:
      placeBlockInDefaultTheme:
        id: branding
        region:
          radix_tfl: navbar_branding
        default_region: navbar_branding
        position: first
        plugin: system_branding_block
        settings:
          label_display: ''
          use_site_logo: true
          use_site_name: false
          use_site_slogan: true

However, the documentation does not mention the the "settings" section.

Steps to reproduce

n/a

Proposed resolution

Add documentation and tests for the settings functionality.

Remaining tasks

Write documentation.
Add tests.

User interface changes

n/a

Introduced terminology

n/a

API changes

n/a

Data model changes

n/a

Release notes snippet

n/a

πŸ“Œ Task
Status

Active

Version

11.2 πŸ”₯

Component

recipe system

Created by

πŸ‡ΊπŸ‡ΈUnited States paulmckibben Atlanta, GA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024