function ItemStorage::loadAll

Same name in other branches
  1. 8.9.x core/modules/aggregator/src/ItemStorage.php \Drupal\aggregator\ItemStorage::loadAll()

Overrides ItemStorageInterface::loadAll

File

core/modules/aggregator/src/ItemStorage.php, line 31

Class

ItemStorage
Defines the storage handler class for feed item entities.

Namespace

Drupal\aggregator

Code

public function loadAll($limit = NULL) {
    $query = \Drupal::entityQuery('aggregator_item');
    return $this->executeFeedItemQuery($query, $limit);
}

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