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 have a small problem: when I try to export data to file with name, which contain token of contextual args with validation. Views handler contains variable 'validated_title' instead 'title', so the right way - use $handler->get_title().
Also get_title() function use check_plain().
Comment | File | Size | Author |
---|---|---|---|
#1 | views_data_export-fix_title_token_in_filename-2171063-1.patch | 747 bytes | VasilyKraev |
Comments
Comment #1
VasilyKraev CreditAttribution: VasilyKraev commentedComment #2
Tom Robert CreditAttribution: Tom Robert commentedThx this works. I needed this.
Comment #4
Steven Jones CreditAttribution: Steven Jones commentedAh yes, good spot and thanks for the patch @VasilyKraev and the review @Tom Robert.