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 would like to add support for pathauto. In order to do so, it must be excluded from HTML purification.
Comment | File | Size | Author |
---|---|---|---|
#1 | flatfish-add_pathauto_support-2045437-1.patch | 944 bytes | pdrake |
Comments
Comment #1
pdrake CreditAttribution: pdrake commentedComment #2
tloudon CreditAttribution: tloudon commentedHi pdrake,
What's the use-case here? You can already set the path to be whatever you want in the CSV w/ the flatfish gem. I don't see any benefit to adding pathauto, but I'm not opposed to adding it in if there's a common use-case and it doesn't force pathauto or break existing functionality.
Thanks!
Comment #3
tloudon CreditAttribution: tloudon commentedComment #4
pdrake CreditAttribution: pdrake commentedThe use-case would be when pathauto is configured to generate paths that are dependent on a token whose value is not available during creation of the CSV. The patch does not force pathauto in any way - it just allows it to be used if desired.
Comment #5
tloudon CreditAttribution: tloudon commentedHi pdrake,
Okay, that's fine.
Can you please attach a sample CSV (just a header and one line) and a sample table dump (just one row)? Then I can document the feature so others can take advantage of it as well.
Thanks!
Comment #6
pdrake CreditAttribution: pdrake commentedUnfortunately, I'm no longer involved in the project that was using this and no longer have access to any of the code or data for that project.