public static function HookRequirementsTest::getInfo

File

drupal/core/modules/system/lib/Drupal/system/Tests/Module/HookRequirementsTest.php, line 14
Definition of Drupal\system\Tests\Module\HookRequirementsTest.

Class

HookRequirementsTest
Tests failure of hook_requirements('install').

Namespace

Drupal\system\Tests\Module

Code

public static function getInfo() {
  return array(
    'name' => 'Requirements hook failure',
    'description' => "Attempts enabling a module that fails hook_requirements('install').",
    'group' => 'Module',
  );
}