function module_list_reset

Reverts an enforced fixed list of module_list().

Subsequent calls to module_list() will no longer use a fixed list.

5 calls to module_list_reset()
drupal_install_system in drupal/core/includes/install.inc
Installs the system module.
install_bootstrap_full in drupal/core/includes/install.core.inc
Performs a full bootstrap of Drupal during installation.
ModuleApiTest::testModuleList in drupal/core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php
The basic functionality of module_list().
TestBase::tearDown in drupal/core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
Deletes created files, database tables, and reverts all environment changes.
WebTestBase::tearDown in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.

File

drupal/core/includes/module.inc, line 115
API for loading and interacting with Drupal modules.

Code

function module_list_reset() {
  module_list(NULL, NULL, TRUE);
}