function MigrateBookConfigsTest::providerBookSettings

Same name in other branches
  1. 9 core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookConfigsTest.php \Drupal\Tests\book\Kernel\Migrate\d6\MigrateBookConfigsTest::providerBookSettings()
  2. 8.9.x core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookConfigsTest.php \Drupal\Tests\book\Kernel\Migrate\d6\MigrateBookConfigsTest::providerBookSettings()
  3. 11.x 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 38

Class

MigrateBookConfigsTest
Upgrade variables to book.settings.yml.

Namespace

Drupal\Tests\book\Kernel\Migrate\d6

Code

public static 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',
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.