function ModuleVersionTest::providerInvalidBranchCorePrefix

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

Data provider for testInvalidBranchCorePrefix().

File

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

Class

ModuleVersionTest
@coversDefaultClass \Drupal\update\ModuleVersion

Namespace

Drupal\Tests\update\Unit

Code

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