You are here

public function MigrateBookConfigsTest::providerBookSettings in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookConfigsTest.php \Drupal\Tests\book\Kernel\Migrate\d6\MigrateBookConfigsTest::providerBookSettings()

Data provider for testBookSettings().

Return value

array The data for each test scenario.

File

core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookConfigsTest.php, line 28

Class

MigrateBookConfigsTest
Upgrade variables to book.settings.yml.

Namespace

Drupal\Tests\book\Kernel\Migrate\d6

Code

public function providerBookSettings() {
  return [
    // d6_book_settings was renamed to book_settings, but use the old alias to
    // prove that it works.
    // @see book_migration_plugins_alter()
    [
      'd6_book_settings',
    ],
    [
      'book_settings',
    ],
  ];
}