`core/modules/path/path.api.php` documentation has become out of sync this the implementation of the hooks it documents.
The documentation references PathInterface class for the structure of the $path array.
The following patch updates this to be AliasStorageInterface

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

L-four created an issue. See original summary.

L-four’s picture

Status: Needs review » Needs work

The last submitted patch, 2: drupal-path_documentation-2941945-1-d8.patch, failed testing. View results

chiranjeeb2410’s picture

Title: path.api.php references non-existent PathInterface updated to AliasStorageInterface » path.api.php references to a non-existent PathInterface class and updated to AliasStorageInterface
chiranjeeb2410’s picture

Status: Needs work » Needs review
FileSize
1.43 KB

Patch uploaded against 8.5.x. Hope to get green.
Review please.

borisson_’s picture

Status: Needs review » Reviewed & tested by the community

  • catch committed 4f1df3f on 8.6.x
    git commit -m 'Issue #2941945 by L-four, chiranjeeb2410: path.api.php...

  • catch committed 3401657 on 8.5.x
    git commit -m 'Issue #2941945 by L-four, chiranjeeb2410: path.api.php...
catch’s picture

Version: 8.6.x-dev » 8.5.x-dev
Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.6.x and cherry-picked to 8.5.x. Thanks!

borisson_’s picture

Looks lik you pasted the wrong command in the commit message @catch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.