You are here

public property MigrateProcessPlugin::$handle_multiples in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 'iterator' 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 51
Contains \Drupal\migrate\Annotation\MigrateProcessPlugin.

Class

MigrateProcessPlugin
Defines a migration process plugin annotation object.

Namespace

Drupal\migrate\Annotation

Code

public $handle_multiples = FALSE;