Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MigrateProcessPlugin.php

MigrateProcessPlugin::$handle_multiples

Whether the plugin handles multiples itself.

This property is optional and it does not need to be declared.

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

File

core/modules/migrate/src/Annotation/MigrateProcessPlugin.php, line 48

Class

MigrateProcessPlugin
Defines a migration process plugin annotation object.

Namespace

Drupal\migrate\Annotation

Code

public $handle_multiples = FALSE;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal