function ExtensionVersionTest::providerInvalidVersionCorePrefix
Same name in other branches
- 10 core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php \Drupal\Tests\Core\Extension\ExtensionVersionTest::providerInvalidVersionCorePrefix()
- 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 307
Class
- ExtensionVersionTest
- @coversDefaultClass \Drupal\Core\Extension\ExtensionVersion
Namespace
Drupal\Tests\Core\ExtensionCode
public 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.