requirements1_test.module

Same filename in other branches
  1. 9 core/modules/system/tests/modules/requirements1_test/requirements1_test.module
  2. 10 core/modules/system/tests/modules/requirements1_test/requirements1_test.module
  3. 11.x core/modules/system/tests/modules/requirements1_test/requirements1_test.module

Tests that a module is not installed when it fails hook_requirements('install').

File

modules/simpletest/tests/requirements1_test.module

View source
<?php


/**
 * @file
 * Tests that a module is not installed when it fails
 * hook_requirements('install').
 */

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