Comments

joachim created an issue. See original summary.

subson’s picture

Trying a fix here.

subson’s picture

Status: Active » Needs review
dawehner’s picture

Status: Needs review » Needs work

here is just a super quick review

+++ b/core/lib/Drupal/Core/Entity/EntityListBuilderInterface.php
@@ -22,7 +22,8 @@ public function getStorage();
-   *   An array of entities implementing \Drupal\Core\Entity\EntityInterface.
+   *   An array of entities implementing \Drupal\Core\Entity\EntityInterface indexed by their IDs.
+   *   Returns an empty array if no matching entities are found.
    */

This line exceeds 80 cars. Please break it up

subson’s picture

Status: Needs work » Needs review
StatusFileSize
new723 bytes

Fixing the 80 char line limit.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Munavijayalakshmi’s picture

Assigned: Unassigned » Munavijayalakshmi
Status: Needs review » Reviewed & tested by the community
alexpott’s picture

Status: Reviewed & tested by the community » Needs work

Each line should break on 80 characters. But it should use up as much of the line as possible before breaking on a space. Please re-flow the comment.

shashikant_chauhan’s picture

chetan.s’s picture

I am working on it

chetan.s’s picture

Status: Needs work » Needs review
StatusFileSize
new723 bytes
new755 bytes

Adding updated patch.

joachim’s picture

Version: 8.3.x-dev » 8.4.x-dev
Status: Needs review » Reviewed & tested by the community

Looks good.

Confirming patch still applies to 8.4.x.

wim leers’s picture

Title: EntityListBuilder::load() doesn't say what the return array is keyed by » EntityListBuilder::load() doesn't say that the return array is keyed by
Component: documentation » entity system
Issue tags: +Documentation

Looks great :)

joachim’s picture

Title: EntityListBuilder::load() doesn't say that the return array is keyed by » EntityListBuilder::load() doesn't say what the return array is keyed by

'that the return array is keyed by' doesn't make sense without an object...

/native english speaking pedantry ;)

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed 003df9c to 8.4.x and 93bf800 to 8.3.x. Thanks!

Backported to 8.3.x as this is docs only change.

  • alexpott committed 003df9c on 8.4.x
    Issue #2781819 by subson, chetan.s: EntityListBuilder::load() doesn't...

  • alexpott committed 93bf800 on 8.3.x
    Issue #2781819 by subson, chetan.s: EntityListBuilder::load() doesn't...

Status: Fixed » Closed (fixed)

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