function ExtensionVersionTest::providerInvalidBranchCorePrefix

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php \Drupal\Tests\Core\Extension\ExtensionVersionTest::providerInvalidBranchCorePrefix()
  2. 11.x 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 338

Class

ExtensionVersionTest
@coversDefaultClass \Drupal\Core\Extension\ExtensionVersion

Namespace

Drupal\Tests\Core\Extension

Code

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

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