You are here

public function FieldSettings::transform in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/field/src/Plugin/migrate/process/d6/FieldSettings.php \Drupal\field\Plugin\migrate\process\d6\FieldSettings::transform()
  2. 8 core/modules/field/src/Plugin/migrate/process/d7/FieldSettings.php \Drupal\field\Plugin\migrate\process\d7\FieldSettings::transform()
Same name and namespace in other branches
  1. 8.0 core/modules/field/src/Plugin/migrate/process/d6/FieldSettings.php \Drupal\field\Plugin\migrate\process\d6\FieldSettings::transform()

Get the field default/mapped settings.

Overrides ProcessPluginBase::transform

File

core/modules/field/src/Plugin/migrate/process/d6/FieldSettings.php, line 28
Contains \Drupal\field\Plugin\migrate\process\d6\FieldSettings.

Class

FieldSettings
Get the field settings.

Namespace

Drupal\field\Plugin\migrate\process\d6

Code

public function transform($value, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) {
  list($field_type, $global_settings) = $value;
  return $this
    ->getSettings($field_type, $global_settings);
}