LocaleNonInteractiveDevInstallTest.php

Same filename in other branches
  1. 9 core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php
  2. 8.9.x core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php
  3. 11.x core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php

Namespace

Drupal\Tests\locale\Functional

File

core/modules/locale/tests/src/Functional/LocaleNonInteractiveDevInstallTest.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\locale\Functional;


/**
 * Tests installing in a different language with a dev version string.
 *
 * @group locale
 */
class LocaleNonInteractiveDevInstallTest extends LocaleNonInteractiveInstallTest {
    
    /**
     * {@inheritdoc}
     */
    protected $defaultTheme = 'stark';
    
    /**
     * {@inheritdoc}
     */
    protected function getVersionStringToTest() {
        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.