function ModuleVersionTest::providerInvalidVersionCorePrefix

Same name in other branches
  1. 8.9.x core/modules/update/tests/src/Unit/ModuleVersionTest.php \Drupal\Tests\update\Unit\ModuleVersionTest::providerInvalidVersionCorePrefix()

Data provider for testInvalidVersionCorePrefix().

File

core/modules/update/tests/src/Unit/ModuleVersionTest.php, line 266

Class

ModuleVersionTest
@coversDefaultClass \Drupal\update\ModuleVersion

Namespace

Drupal\Tests\update\Unit

Code

public function providerInvalidVersionCorePrefix() {
    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.