Comment that hook_google_tag_snippets_alter() only runs after clearing of caches

Created on 1 December 2020, almost 4 years ago
Updated 20 March 2024, 6 months ago

Problem/Motivation

A lot of man-hours and electricity would be saved if we would inform developers directly that `hook_google_tag_snippets_alter()` only runs after clearing caches. Real developers do not read readmes :)

Steps to reproduce

Implement `hook_google_tag_snippets_alter()` and click on refresh repeatedly. Note that your hook implementation is ignored.

Proposed resolution

Add a comment above `hook_google_tag_snippets_alter()` about conditions under which hook runs.

Remaining tasks

Add a comment above `hook_google_tag_snippets_alter()` about conditions under which hook runs.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡±πŸ‡»Latvia mansspams

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.71.5 2024