You are here

public function ExtensionVersionTest::providerInvalidBranchCorePrefix in Drupal 10

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

Data provider for testInvalidBranchCorePrefix().

Return value

string[] The test cases for testInvalidBranchCorePrefix().

File

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

Class

ExtensionVersionTest
@coversDefaultClass \Drupal\Core\Extension\ExtensionVersion

Namespace

Drupal\Tests\Core\Extension

Code

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