Commit 396f4f19 authored by Zoltan Attila Horvath's avatar Zoltan Attila Horvath Committed by Zoltan Attila Horvath
Browse files

Issue #3263827 by huzooka: Make Migrate Magician compatible with Drupal core 10.x

parent 3b80d28f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
    "require-dev": {
        "drupal/eme": "^1@alpha",
        "drupal/smart_sql_idmap": "^1.1@beta",
        "drush/drush": "^10"
        "drush/drush": "^10 || ^11"
    },
    "replace": {
        "drupal/migmag_callback_upgrade": "self.version",
+1 −1
Original line number Diff line number Diff line
@@ -2,4 +2,4 @@ name: Migrate Magician
type: module
description: Toolset and utilities for Drupal migrations.
package: Migration
core_version_requirement: ^8.9 || ^9
core_version_requirement: ^8.9 || ^9 || ^10
+1 −1
Original line number Diff line number Diff line
@@ -2,4 +2,4 @@ name: Migrate Magician Callback Process Plugin Upgrade
type: module
description: Replaces the callback process plugin with the version from Drupal core 9.2+.
package: Migration
core_version_requirement: ^8.9 || ^9
core_version_requirement: ^8.9 || ^9 || ^10
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ name: Migrate Magician Menu Link Migration
type: module
description: Alters core migrations to migrate every menu link.
package: Migration
core_version_requirement: ^8.9 || ^9
core_version_requirement: ^8.9 || ^9 || ^10
dependencies:
  - migmag:migmag
  - migmag:migmag_process
+6 −4
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ class MenuLinkMigrateTest extends MigrateDrupalTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();

    $this->installEntitySchema('menu_link_content');
@@ -186,8 +186,7 @@ class MenuLinkMigrateTest extends MigrateDrupalTestBase {
   */
  public function testMenuLinkMigration() {
    $fixture_path = implode(DIRECTORY_SEPARATOR, [
      drupal_get_path('module', 'migmag_menu_link_migrate'),
      'tests',
      dirname(__FILE__, 3),
      'fixtures',
      'd7-menu-link-db.php',
    ]);
@@ -526,7 +525,10 @@ class MenuLinkMigrateTest extends MigrateDrupalTestBase {
    );

    $this->loadFixture(implode(DIRECTORY_SEPARATOR, [
      drupal_get_path('module', 'migrate_drupal'),
      DRUPAL_ROOT,
      'core',
      'modules',
      'migrate_drupal',
      'tests',
      'fixtures',
      'drupal7.php',
Loading