function ExtensionVersionTest::providerInvalidVersionCorePrefix

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

Class

ExtensionVersionTest
@coversDefaultClass \Drupal\Core\Extension\ExtensionVersion

Namespace

Drupal\Tests\Core\Extension

Code

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

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