This issue has novice tasks. If you are an experienced core developer and have multiple commit mentions, please review novices' work on these tasks rather than doing them yourself. Feedback from experienced contributors is valued.
Problem/Motivation
The documentation of Drupal\Core\Entity\EntityInterface::urlInfo() of still refers to paths in the links annotation. This should been referring to routes - see the annotation in Drupal\node\Entity\Node. Additionally the documentation refers to the function contact_category_uri which no longer exists. This could be changed to comment_uri.
Proposed resolution
Fix documentation
Remaining tasks
- Write patch (novice)
- Review patch to check it fixes the issue, the change is properly documented and for coding standards. Provide test evidence (novice)
- Keep issue summary up to date (novice)
User interface changes
API changes
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fix_urlInfo_doc-2186225-3-D8.patch | 944 bytes | lucastockmann |
Comments
Comment #1
jhodgdonRegarding the "if you are experienced" text at the top of this issue... I just checked to make sure, and there is most of a page of Drupal Core / Documentation / tagged "Novice" issues that need patches (Active/Needs Work). If you include non-Documentation issues, and still just in Core, the list of issues that need patches runs to 4 pages.
So ... We are not really short of Novice tasks, are we?
I personally would be happy if anyone, experienced or not, jumped in to fix any of the Novice issues. Can we not make this kind of text standard?
Comment #2
lucastockmann commentedComment #3
lucastockmann commentedPatch submitted..
Comment #4
jhodgdonLooks good, thanks! Examples straight out of Core in the docs are always nice. :)
Comment #5
xano+1 for looking up the corresponding route names so we have realistic examples!
Comment #6
jibranfrom the original issue.
edit-form is repeated here can we remove it.
Comment #7
alexpott@jibran that is a separate and new issue - created #2186847: Remove duplicate edit-form key in Drupal\aggregator\Entity\Feed
Comment #8
jhodgdonThanks again -- committed to 8.x.