Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using the PHP module for Drupal sites is a security and performance risk, therefore it shouldn't be encouraged by other modules.
Step 1:
Mark the PHP snippet as deprecated in Drupal 8 for both the 2.x and 3.x versions
Remove the tests around PHP so they pass in Drupal 9.
Step 2:
Write a plugin or generate an event that easily allows users to manipulate how GA is shown on pages
We can track the progress of both steps in this issue, with step 1 getting committed with the D9 release and step 2 being done later.
Comment | File | Size | Author |
---|---|---|---|
#13 | 3145431-13.patch | 17.63 KB | japerry |
| |||
#12 | 3145431-10.patch | 12.55 KB | japerry |
| |||
#10 | 3145431-8.patch | 9.68 KB | japerry |
Comments
Comment #2
japerryThis patch works for both branches.
Comment #4
japerryComment #6
japerryComment #7
fgmAgreed on the issue. It's hardly critical, though: no site breaks for that reason, do they ?
Comment #8
japerryIts breaking tests, so it'd be nice if we didn't release with broken tests.
Comment #10
japerryComment #12
japerryComment #13
japerrySee if it works in 3.x
Comment #17
japerry