Loading core/modules/field/src/Plugin/migrate/source/d7/Field.php +1 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,7 @@ public function fields() { return [ 'id' => $this->t('The field ID.'), 'field_name' => $this->t('The field name.'), 'entity_type' => $this->t('Entity type'), 'type' => $this->t('The field type.'), 'module' => $this->t('The module that implements the field type.'), 'active' => $this->t('The field status.'), Loading core/modules/menu_link_content/src/Plugin/migrate/source/MenuLink.php +12 −6 Original line number Diff line number Diff line Loading @@ -105,13 +105,19 @@ public function fields() { 'p9' => $this->t('The ninth mlid in the materialized path. See p1.'), 'updated' => $this->t('Flag that indicates that this link was generated during the update from Drupal 5.'), ]; $schema = $this->getDatabase()->schema(); // The database connection may not exist, for example, when building // the Migrate Message form. if ($source_database = $this->database) { $schema = $source_database->schema(); if ($schema->fieldExists('menu_links', 'language')) { $fields['language'] = $this->t("Menu link language code."); } if ($schema->fieldExists('menu_links', 'i18n_tsid')) { $fields['i18n_tsid'] = $this->t("Translation set id."); } } return $fields; } Loading core/modules/migrate/migrate.links.menu.yml 0 → 100644 +6 −0 Original line number Diff line number Diff line migrate.messages: title: Migration messages parent: system.admin_reports description: View the migration messages. route_name: migrate.messages weight: 0 core/modules/migrate/migrate.permissions.yml 0 → 100644 +2 −0 Original line number Diff line number Diff line view migration messages: title: 'View migration messages' core/modules/migrate/migrate.routing.yml 0 → 100644 +15 −0 Original line number Diff line number Diff line migrate.messages: path: '/admin/reports/migration-messages' defaults: _controller: '\Drupal\migrate\Controller\MigrateMessageController::overview' _title: 'Migration messages' requirements: _permission: 'view migration messages' migrate.messages.detail: path: '/admin/reports/migration-messages/{migration_id}' defaults: _controller: '\Drupal\migrate\Controller\MigrateMessageController::details' _title_callback: '\Drupal\migrate\Controller\MigrateMessageController::title' requirements: _permission: 'view migration messages' Loading
core/modules/field/src/Plugin/migrate/source/d7/Field.php +1 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,7 @@ public function fields() { return [ 'id' => $this->t('The field ID.'), 'field_name' => $this->t('The field name.'), 'entity_type' => $this->t('Entity type'), 'type' => $this->t('The field type.'), 'module' => $this->t('The module that implements the field type.'), 'active' => $this->t('The field status.'), Loading
core/modules/menu_link_content/src/Plugin/migrate/source/MenuLink.php +12 −6 Original line number Diff line number Diff line Loading @@ -105,13 +105,19 @@ public function fields() { 'p9' => $this->t('The ninth mlid in the materialized path. See p1.'), 'updated' => $this->t('Flag that indicates that this link was generated during the update from Drupal 5.'), ]; $schema = $this->getDatabase()->schema(); // The database connection may not exist, for example, when building // the Migrate Message form. if ($source_database = $this->database) { $schema = $source_database->schema(); if ($schema->fieldExists('menu_links', 'language')) { $fields['language'] = $this->t("Menu link language code."); } if ($schema->fieldExists('menu_links', 'i18n_tsid')) { $fields['i18n_tsid'] = $this->t("Translation set id."); } } return $fields; } Loading
core/modules/migrate/migrate.links.menu.yml 0 → 100644 +6 −0 Original line number Diff line number Diff line migrate.messages: title: Migration messages parent: system.admin_reports description: View the migration messages. route_name: migrate.messages weight: 0
core/modules/migrate/migrate.permissions.yml 0 → 100644 +2 −0 Original line number Diff line number Diff line view migration messages: title: 'View migration messages'
core/modules/migrate/migrate.routing.yml 0 → 100644 +15 −0 Original line number Diff line number Diff line migrate.messages: path: '/admin/reports/migration-messages' defaults: _controller: '\Drupal\migrate\Controller\MigrateMessageController::overview' _title: 'Migration messages' requirements: _permission: 'view migration messages' migrate.messages.detail: path: '/admin/reports/migration-messages/{migration_id}' defaults: _controller: '\Drupal\migrate\Controller\MigrateMessageController::details' _title_callback: '\Drupal\migrate\Controller\MigrateMessageController::title' requirements: _permission: 'view migration messages'