function InstallTasksTest::providerNameAndMinimumVersion

Same name and namespace in other branches
  1. 9 core/modules/mysql/tests/src/Unit/InstallTasksTest.php \Drupal\Tests\mysql\Unit\InstallTasksTest::providerNameAndMinimumVersion()
  2. 11.x core/modules/mysql/tests/src/Unit/InstallTasksTest.php \Drupal\Tests\mysql\Unit\InstallTasksTest::providerNameAndMinimumVersion()

Provides test data.

Return value

array

File

core/modules/mysql/tests/src/Unit/InstallTasksTest.php, line 115

Class

InstallTasksTest
Tests the MySQL install tasks.

Namespace

Drupal\Tests\mysql\Unit

Code

public static function providerNameAndMinimumVersion() : array {
  return [
    [
      TRUE,
      'MariaDB',
      Tasks::MARIADB_MINIMUM_VERSION,
    ],
    [
      FALSE,
      'MySQL, Percona Server, or equivalent',
      Tasks::MYSQL_MINIMUM_VERSION,
    ],
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.