function InfoParserUnitTest::providerCore8x

Data provider for testCore8x().

File

core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php, line 340

Class

InfoParserUnitTest
Tests InfoParser class and exception.

Namespace

Drupal\Tests\Core\Extension

Code

public function providerCore8x() {
    return [
        '^8 || ^9' => [
            '^8 || ^9',
            'all-8-9',
        ],
        '*' => [
            '*',
            'asterisk',
        ],
        '>=8' => [
            ">=8",
            'gte8',
        ],
    ];
}

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