public property MigrateProcessPlugin::$handle_multiples in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/src/Annotation/MigrateProcessPlugin.php \Drupal\migrate\Annotation\MigrateProcessPlugin::handle_multiples
Whether the plugin handles multiples itself.
Typically these plugins will expect an array as input and iterate over it themselves, changing the whole array. For example the 'sub_process' and the 'flatten' plugins. If the plugin only need to change a single value it can skip setting this attribute and let \Drupal\migrate\MigrateExecutable::processRow() handle the iteration.
Type: bool (optional)
File
- core/
modules/ migrate/ src/ Annotation/ MigrateProcessPlugin.php, line 46
Class
- MigrateProcessPlugin
- Defines a migration process plugin annotation object.
Namespace
Drupal\migrate\AnnotationCode
public $handle_multiples = FALSE;