public static function IpAddressTest::getInfo

File

drupal/core/modules/system/lib/Drupal/system/Tests/Bootstrap/IpAddressTest.php, line 17
Definition of Drupal\system\Tests\Bootstrap\IpAddressTest.

Class

IpAddressTest
Tests getting IP addresses and hostname validation.

Namespace

Drupal\system\Tests\Bootstrap

Code

public static function getInfo() {
  return array(
    'name' => 'IP address and HTTP_HOST test',
    'description' => 'Get the IP address from the current visitor from the server variables, check hostname validation.',
    'group' => 'Bootstrap',
  );
}