function TourLegacyTest::providerTestTourTipMarkup

Data Provider.

Return value

\string[][] An array with two potential items:

  • The different path the test will run on.
  • The active theme when running the tests.

File

core/modules/tour/tests/src/FunctionalJavascript/TourLegacyTest.php, line 136

Class

TourLegacyTest
Tests Tour's backwards compatible markup and legacy config.

Namespace

Drupal\Tests\tour\FunctionalJavascript

Code

public function providerTestTourTipMarkup() {
    return [
        'Using the deprecated TipPlugin with Stable theme' => [
            'tour-test-legacy',
        ],
        'Using current TourTipPlugin with Stable theme' => [
            'tour-test-1',
        ],
        'Using the deprecated TipPlugin with Stable 9 theme' => [
            'tour-test-legacy',
            'stable9',
        ],
        'Using current TourTipPlugin with Stable 9 theme' => [
            'tour-test-1',
            'stable9',
        ],
    ];
}

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