The docblock in the pathauto.api.php file advises that we call the pathauto_create_alias() function, but no such function exists in the code. I would change the documentation to point to the new function, but I'll be damned if I can decipher how the code works anymore. Thanks to whomever can correct this!
Update:
Not only the pathauto_create_alias() dosen't exist but pathauto_path_delete_all() and hook_path_alias_types() also don't exists anywhere else on the code but on pathauto.api.php comments. They might have been replaced a long time ago but the documentation wasn't updated.
Issue fork pathauto-3104119
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
benstallings commentedComment #3
darrenwh commented@BenStallings maybe this \Drupal::service('pathauto.generator')->createEntityAlias() on line 156 of PathautoGenerator.php
Comment #4
andregp commentedComment #5
andregp commentedComment #7
mably commentedI have removed the outdated documentation.
Comment #9
mably commentedComment #10
mably commented