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.
Problem/Motivation
At https://api.drupal.org/api/drupal/core%21includes%21entity.inc/function/... the delete() links to:
https://php.net/delete but it should link to https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Entity%21...
Proposed resolution
Update the comment in core/includes/entity.inc
to reference the specific function \Drupal\Core\Entity\EntityStorageInterface::delete()
so that the link is correct.
Remaining tasks
Write a patch- Review
Comment | File | Size | Author |
---|---|---|---|
#6 | 3051932-6.patch | 713 bytes | pameeela |
#5 | 3051932-5.patch | 706 bytes | pameeela |
#3 | 3051932-3.patch | 706 bytes | pameeela |
Comments
Comment #3
pameeela CreditAttribution: pameeela commentedPatch attached.
Comment #4
larowlanI think this needs to break at 80 characters for phpcs, i.e method onwards would be on another new line
Comment #5
pameeela CreditAttribution: pameeela commentedAhh thanks figured I would be missing something!
Comment #6
pameeela CreditAttribution: pameeela commentedThis time with the correct patch.
Comment #7
larowlanthere's some whitespace on the end of the line here that can be fixed on commit
Comment #9
catchCommitted 2dff22c and pushed to 8.9.x. Thanks!