Expose banner type as a variable

Created on 19 May 2025, 18 days ago

Problem/Motivation

The `type` variable for Banner is unset in https://github.com/civictheme/monorepo-drupal/blob/develop/web/themes/co...

This was initially done to hide the logic within Drupal.

However, during working on the consumer sites it appeared that this could be useful to be exposed and be made available in template so that the implementations could provide custom handling based on the type (CSS rules, display logic etc).

Proposed resolution

Expose the `type` variable.

Remaining tasks

Expose the `type` variable.

User interface changes

None

API changes

Banner will now have a new `type` variable exposed.

Data model changes

None

Feature request
Status

Active

Version

1.10

Component

Code

Created by

🇦🇺Australia alex.skrypnyk Melbourne

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

Comments & Activities

Production build 0.71.5 2024