Turn ad sizes into config entities

Created on 16 April 2025, 3 months ago

Problem/Motivation

To enable a lot more flexibility using this module, the different available ad sizes could be turned into config entities. Currently, the system is a bit hard to use and unflexible (actual sizes are not shown, only names and there are blocks for every single size).

Steps to reproduce

Proposed resolution

  • Create a config entity for ad sizes that includes a name, width, and height
  • Keep all the previous size settings by creating entities for them via the update / install hook
  • Turn all the ad block contents into a single β€œad block” content and make the size be a property of that block instead
  • Ensure proper content migration via update hook of course

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

11.0

Component

ad module

Created by

πŸ‡©πŸ‡ͺGermany lrwebks Porta Westfalica

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024