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.
Drupal 7 uses the path_save() function to create new aliases instead of path_set_alias(). This function takes an associative array as an argument - http://api.drupal.org/api/function/path_save/7
The attached patch fixes a bug where checking the 'Add an url alias for each node.' box would result in the following error:
Fatal error: Call to undefined function path_set_alias() in /var/www/html/drupal-7.x-dev/sites/default/modules/devel/devel_generate.module on line 255
Comment | File | Size | Author |
---|---|---|---|
#2 | devel-generate-path-save.patch | 939 bytes | basic |
devel-generate-path-save.patch | 699 bytes | basic | |
Comments
Comment #1
Dave ReidNeed proper coding standard formatting.
Comment #2
basic CreditAttribution: basic commentedSorry about that! Hopefully this is better?
Comment #3
Dave ReidCommitted to CVS. Thanks!
http://drupal.org/cvs?commit=308172