function ModeratedNodeListBuilder::load

Same name and namespace in other branches
  1. 9 core/modules/content_moderation/src/ModeratedNodeListBuilder.php \Drupal\content_moderation\ModeratedNodeListBuilder::load()
  2. 10 core/modules/content_moderation/src/ModeratedNodeListBuilder.php \Drupal\content_moderation\ModeratedNodeListBuilder::load()
  3. 11.x core/modules/content_moderation/src/ModeratedNodeListBuilder.php \Drupal\content_moderation\ModeratedNodeListBuilder::load()

Overrides EntityListBuilder::load

File

core/modules/content_moderation/src/ModeratedNodeListBuilder.php, line 70

Class

ModeratedNodeListBuilder
Defines a class to build a listing of moderated node entities.

Namespace

Drupal\content_moderation

Code

public function load() {
    $revision_ids = $this->getEntityRevisionIds();
    return $this->storage
        ->loadMultipleRevisions($revision_ids);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.