Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Entity Iterator

Security covered Maintenance fixes only 20 sites

Part of the Entity ecosystem · 310 projects

This project provides a way to efficiently iterate over a large number of entities by loading them in batches and clearing the cache as it proceeds, preventing memory issues.

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

Drupal 8–10 · not 11

Ask your assistant about Entity Iterator

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jul 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.2.3 Stable 8–10 Jul 4, 2024
1.2.1 Stable 8–10 Jul 4, 2024
1.2.0 Stable 8–10 Jul 4, 2024