LocaleNonInteractiveDevInstallTest.php
Same filename and directory in other branches
- 10 core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php
- 11.x core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php
- 9 core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php
- 8.9.x core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php
Namespace
Drupal\Tests\locale\FunctionalFile
-
core/
modules/ locale/ tests/ src/ Functional/ LocaleNonInteractiveDevInstallTest.php
View source
<?php
declare (strict_types=1);
namespace Drupal\Tests\locale\Functional;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;
/**
* Tests installing in a different language with a dev version string.
*/
class LocaleNonInteractiveDevInstallTest extends LocaleNonInteractiveInstallTest {
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* {@inheritdoc}
*/
protected function getVersionStringToTest() : string {
include_once $this->root . '/core/includes/install.core.inc';
$version = _install_get_version_info(\Drupal::VERSION);
return $version['major'] . '.' . $version['minor'] . '.x';
}
}
Classes
| Title | Deprecated | Summary |
|---|---|---|
| LocaleNonInteractiveDevInstallTest | Tests installing in a different language with a dev version string. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.