You are here

public function InfoParserUnitTest::providerCore8x in Drupal 9

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