The path module has a full API in drupal 7 (e.g., hook_path_insert()). Best to use this -- rather than hooking into node, taxo, user, etc. CRUD. It means less code that's also more maintainable.

Comments

crookednumber’s picture

Status: Active » Postponed

Alas, all such hooks fire only after the drupal_write_record(). So this idea is postponed until there's a hook_path_presave().

crookednumber’s picture