diff --git a/core/modules/migrate_drupal/src/Plugin/migrate/process/d6/FieldSettings.php b/core/modules/migrate_drupal/src/Plugin/migrate/process/d6/FieldSettings.php index 58fc6ea..9b76cb2 100644 --- a/core/modules/migrate_drupal/src/Plugin/migrate/process/d6/FieldSettings.php +++ b/core/modules/migrate_drupal/src/Plugin/migrate/process/d6/FieldSettings.php @@ -44,8 +44,6 @@ public function transform($value, MigrateExecutable $migrate_executable, Row $ro * A valid array of settings. */ public function getSettings($field_type, $global_settings, $widget_settings) { - $image_label = isset($widget_settings['alt']) ? $widget_settings['alt'] : ''; - $title_label = isset($widget_settings['title']) ? $widget_settings['title'] : ''; $max_length = isset($global_settings['max_length']) ? $global_settings['max_length'] : ''; $max_length = empty($max_length) ? 255 : $max_length; if (isset($global_settings['allowed_values'])) { @@ -74,12 +72,6 @@ public function getSettings($field_type, $global_settings, $widget_settings) { 'text' => array( 'max_length' => $max_length, ), - 'image' => array( - 'column_groups' => array( - 'alt' => array('label' => $image_label), - 'title' => array('label' => $title_label), - ), - ), 'datetime' => array('datetime_type' => 'datetime'), 'list_string' => array( 'allowed_values' => $allowed_values, diff --git a/core/modules/migrate_drupal/src/Tests/d6/MigrateFieldTest.php b/core/modules/migrate_drupal/src/Tests/d6/MigrateFieldTest.php index f889acc..2f1c179 100644 --- a/core/modules/migrate_drupal/src/Tests/d6/MigrateFieldTest.php +++ b/core/modules/migrate_drupal/src/Tests/d6/MigrateFieldTest.php @@ -70,8 +70,6 @@ public function testFields() { $field_storage = entity_load('field_storage_config', 'node.field_test_imagefield'); $this->assertEqual($field_storage->type, "image", t('Field type is @fieldtype. It should be image.', array('@fieldtype' => $field_storage->type))); $settings = $field_storage->getSettings(); - $this->assertEqual($settings['column_groups']['alt']['label'], 'Test alt'); - $this->assertEqual($settings['column_groups']['title']['label'], 'Test title'); $this->assertEqual($settings['target_type'], 'file'); $this->assertEqual($settings['uri_scheme'], 'public'); $this->assertEqual($settings['default_image']['fid'], '');