The correct doxygen is "Returns the translatable object referring to the original language." this is very strange and doesn't mesh with the doxygen of say getTranslation() which doesn't mention any references. Suggested simple patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 3065574_4.patch | 715 bytes | quietone |
| #4 | 3065574_4.patch | 715 bytes | ghost of drupal past |
Comments
Comment #2
ghost of drupal pastComment #3
amateescu commentedHow about "Returns the translatable object in the original language it was created."?
We shouldn't mention entities in the typed data documentation :)
Also, this line is not really needed because it's only repeating the first doxygen sentence, and since
@return $thisdoesn't require any additional info, I think it would be better to just remove it.Comment #4
ghost of drupal pastLet's try this one.
Comment #10
larowlan💄This came up as today's Bug Smash daily triage target
Code looks good to me.
Are we sure that bug is the right category? Is this a documentation task instead?
Either way RTBC
Comment #11
dwwAgreed this is RTBC, and that it's not a bug. Moving to a task. Still an important improvement.
Thanks everyone!
-Derek
Comment #12
quietone commentedRe uploading patch so it is tested with 9.4.x
Comment #14
dwwLooks like a random fail, requeued.
Comment #17
catchCommitted/pushed to 10.0.x, cherry-picked to 9.4.x and 9.3.x, thanks!