"Response Code" condition looks to be ready for removal

Created on 20 March 2025, 16 days ago

Problem/Motivation

On the tag settings form, under Conditions, there are "Response Status" (core) and "Response code" (google_tag) conditions, which appear to be duplicating each other:

The "Response Code" condition is provided by the Google Tag module, and it has a @todo item listed in the plugin's code:

@todo remove once this plugin is added to core: https://www.drupal.org/project/drupal/issues/2245767 ✨ Allow blocks to be configured to show/hide on 200/403/404 response pages Fixed .

Referenced core issue has been fixed and closed for a while, and the core v10.2 and up now provides this plugin natively.

Steps to reproduce

- Run Drupal 10.2 or higher
- Install Google Tag
- Navigate to the tag settings form
- Observe duplicate condition plugin tabs

Proposed resolution

- Deprecate the plugin
- Implement config migrations

Remaining tasks

- Deprecate the plugin
- Implement config migrations

User interface changes

Removes duplicate condition configs

πŸ“Œ Task
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States euk

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

Comments & Activities

Production build 0.71.5 2024