MigrateField::$weight

Same name in other branches
  1. 9 core/modules/migrate_drupal/src/Annotation/MigrateField.php \Drupal\migrate_drupal\Annotation\MigrateField::weight
  2. 8.9.x core/modules/migrate_drupal/src/Annotation/MigrateField.php \Drupal\migrate_drupal\Annotation\MigrateField::weight
  3. 10 core/modules/migrate_drupal/src/Annotation/MigrateField.php \Drupal\migrate_drupal\Annotation\MigrateField::weight

The weight of this plugin relative to other plugins.

The weight of this plugin relative to other plugins servicing the same field type and core version. The lowest weighted applicable plugin will be used for each field.

Type: int

File

core/modules/migrate_drupal/src/Annotation/MigrateField.php, line 83

Class

MigrateField
Defines a field plugin annotation object.

Namespace

Drupal\migrate_drupal\Annotation

Code

public $weight = 0;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.