'link', ]; } /** * {@inheritdoc} */ public function getFieldWidgetMap() { // By default, use the plugin ID for the widget types. return ['link_field' => 'link_default']; } /** * {@inheritdoc} */ public function processFieldInstance(MigrationInterface $migration) { $process = [ 'plugin' => 'static_map', 'source' => 'settings/title', 'bypass' => TRUE, 'map' => [ 'disabled' => DRUPAL_DISABLED, 'optional' => DRUPAL_OPTIONAL, 'required' => DRUPAL_REQUIRED, ], ]; $migration->mergeProcessOfProperty('settings/title', $process); } }