Recovery the current theme condition plugin

Created on 8 February 2022, over 2 years ago
Updated 6 July 2023, 12 months ago

Problem/Motivation

The current_theme condition was excluded from the condition list of google_tag configuration form in the issue https://www.drupal.org/project/google_tag/issues/3085206#comment-13359903 β†’ due to inconsistencies.

Understanding that the current theme tab is inconsistent because there is no option to choose "any" theme, there is a core issue to solve it https://www.drupal.org/project/drupal/issues/2783897 πŸ› Drupal Current theme condition plugin should provide an option to select all themes Needs work , the application of this feature avoids discarding the current theme option.

The possibility of filtering by theme is a clear advantage in large projects since it is enough to select the theme you want to use GTM when it is loaded avoiding adding all the paths, for example, if you do not want to use GTM for all the cases that the administration theme is used.

Remaining tasks

- Drupal Current theme condition plugin should provide an option to apply on any theme ( https://www.drupal.org/project/drupal/issues/2783897 πŸ› Drupal Current theme condition plugin should provide an option to select all themes Needs work )

API changes

The current theme condition is available on google tag settings.

Steps to reproduce:

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain albeorte

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024