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.
Updated: Comment #1
Problem/Motivation
Cannot alter a query because the google_analytics_plugin_query_google_analytics class does not implement the alter() function.
Proposed resolution
Implement the alter() function.
Remaining tasks
- Latest patch needs review
- Commit
API changes
Implements the alter() function so that queries can be altered via hook_views_query_alter().
Comment | File | Size | Author |
---|---|---|---|
#1 | google_analytics_views-hook_views_query_alter-2169089-1.patch | 815 bytes | jantoine |
Comments
Comment #1
jantoine CreditAttribution: jantoine commentedAttached patch implements the alter() function.
Comment #3
Plazik CreditAttribution: Plazik commented@jantoine thanks for patch!