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.
I think using the value from get_title() can be confusing because that value isn't always unique. One idea would be to use the human readable name of the view and view display. Both are configurable and can easily identify what we want to reference. Here's a patch that shows what I'm talking about.
Comment | File | Size | Author |
---|---|---|---|
unique-title.patch | 487 bytes | jnettik |
Comments
Comment #1
butteryak CreditAttribution: butteryak commentedword. I second that notion, thanks for the patch
Comment #2
danielb CreditAttribution: danielb commentedSorry this conflicts with another fix.