Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jan 2015 at 15:23 UTC
Updated:
4 Mar 2015 at 15:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
amateescu commentedFor example,
Drupal\Core\Entity\Entity::load()does not mention|nullin the @return doc, so I thinkloadEntityByConfigTarget()andloadEntityByUuid()should do the same.Comment #2
dawehnerI'm quite convinced that this is not the right thing to do, adding |null gives you additional information
Comment #3
shashikant_chauhan commentedAdded 'null' and recreated patch based on #1
Comment #4
shashikant_chauhan commentedComment #5
amateescu commentedThe initial patch also fixed the UUID part in the doc, which actually had to reference 'target'. Let's also fix the documentation for
Drupal\Core\Entity\Entity::load()andloadMultiple()while we're there.Interdiff is to #1.
Comment #6
jhodgdonOne nitpick:
==> ... if no matching entities are found.
The other changes look good, if everyone agrees they are factually correct.
Comment #7
jhodgdonComment #8
amateescu commentedThe string from #6 also exists in a bunch of other places so I updated all of them for consistency.
Comment #9
jhodgdonA bit out of scope for this issue, but a good fix.
Comment #10
alexpottDocumentation is not frozen in beta. Committed 097b83f and pushed to 8.0.x. Thanks!