You are here

public function ExtensionVersionTest::providerInvalidVersionCorePrefix in Drupal 9

Same name and namespace in other branches
  1. 10 core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php \Drupal\Tests\Core\Extension\ExtensionVersionTest::providerInvalidVersionCorePrefix()

Data provider for testInvalidVersionCorePrefix().

Return value

string[] The test cases for testInvalidVersionCorePrefix().

File

core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php, line 307

Class

ExtensionVersionTest
@coversDefaultClass \Drupal\Core\Extension\ExtensionVersion

Namespace

Drupal\Tests\Core\Extension

Code

public function providerInvalidVersionCorePrefix() : array {
  return static::createKeyedTestCases([
    '6.x-1.0',
    '7.x-1.x',
    '9.x-1.x',
    '10.x-1.x',
  ]);
}