Skip to main content
Home

    Provides a basic class to iterator over a large number of entities by lazily loading them and clearing the cache as it goes along.

    Something along the lines of:

    $nodes = new EntityIterator('node');
    foreach ($nodes as $node) {
      // ...
    }

    Will be obsoleted by #2577417: Add an entity iterator to load entities in chunks

    https://www.drupal.org/project/entity_iterator

    © Shivakumar Ramamurthy