I have a custom content type that is created by a module. Is there a hook I can use to set the path alias of my custom content type when a node is created?
One of my fields is an alpha-numeric code, and I want to use that in the path. eg.: 'event/myc0d3'
I noticed that this function (path_set_alias) existed in 6, but I can't find the equivalent for 7. And do not know where I would call it.