You are here

public function CckFieldPluginBase::processField in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate_drupal/src/Plugin/migrate/cckfield/CckFieldPluginBase.php \Drupal\migrate_drupal\Plugin\migrate\cckfield\CckFieldPluginBase::processField()

Apply any custom processing to the field migration.

Parameters

\Drupal\migrate\Entity\MigrationInterface $migration: The migration entity.

Overrides MigrateCckFieldInterface::processField

File

core/modules/migrate_drupal/src/Plugin/migrate/cckfield/CckFieldPluginBase.php, line 30
Contains \Drupal\migrate_drupal\Plugin\migrate\cckfield\CckFieldPluginBase.

Class

CckFieldPluginBase
The base class for all cck field plugins.

Namespace

Drupal\migrate_drupal\Plugin\migrate\cckfield

Code

public function processField(MigrationInterface $migration) {
  $process[0]['map'][$this->pluginId][$this->pluginId] = $this->pluginId;
  $migration
    ->mergeProcessOfProperty('type', $process);
}