class Iterator
Iterates and processes an associative array.
Plugin annotation
@MigrateProcessPlugin(
id = "iterator",
handle_multiples = TRUE
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
- class \Drupal\migrate\ProcessPluginBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\migrate\Plugin\MigrateProcessInterface
- class \Drupal\migrate\Plugin\migrate\process\SubProcess extends \Drupal\migrate\ProcessPluginBase
- class \Drupal\migrate\Plugin\migrate\process\Iterator extends \Drupal\migrate\Plugin\migrate\process\SubProcess
- class \Drupal\migrate\Plugin\migrate\process\SubProcess extends \Drupal\migrate\ProcessPluginBase
- class \Drupal\migrate\ProcessPluginBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\migrate\Plugin\MigrateProcessInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
Expanded class hierarchy of Iterator
Deprecated
in drupal:8.4.0 and is removed from drupal:9.0.0. Use \Drupal\migrate\Plugin\migrate\process\SubProcess instead.
See also
https://www.drupal.org/node/2880427
1 file declares its use of Iterator
- IteratorTest.php in core/
modules/ migrate/ tests/ src/ Unit/ process/ IteratorTest.php
3 string references to 'Iterator'
- IteratorTest::testIterator in core/
modules/ migrate/ tests/ src/ Unit/ process/ IteratorTest.php - Tests the iterator process plugin.
- Migration::findMigrationDependencies in core/
modules/ migrate/ src/ Plugin/ Migration.php - Find migration dependencies from migration_lookup and sub_process plugins.
- MigrationTest::testGetMigrationDependencies in core/
modules/ migrate/ tests/ src/ Kernel/ Plugin/ MigrationTest.php - Tests Migration::getMigrationDependencies()
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ process/ Iterator.php, line 20
Namespace
Drupal\migrate\Plugin\migrate\processView source
class Iterator extends SubProcess {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.