28 calls to module_enable() in Drupal 7
- BlockHashTestCase::testBlockRehash in modules/
block/ block.test - Tests that block rehashing does not write to the database too often.
- BlockTestCase::testBlockRehash in modules/
block/ block.test - Test _block_rehash().
- CronRunTestCase::testCronCacheExpiration in modules/
system/ system.test - Tests that hook_flush_caches() is not invoked on every single cron run.
- DrupalWebTestCase::setUp in modules/
simpletest/ drupal_web_test_case.php - Sets up a Drupal site for running functional and integration tests.
- EnableDisableTestCase::testEntityInfoCacheWatchdog in modules/
system/ system.test - Tests entity info cache after enabling a module with a dependency on an entity providing module.
- EnableDisableTestCase::testEntityInfoChanges in modules/
system/ system.test - Ensures entity info cache is updated after changes.
- FieldCrudTestCase::_testActiveHelper in modules/
field/ tests/ field.test - Helper function for testActive().
- ForumTestCase::testAddOrphanTopic in modules/
forum/ forum.test - Tests that forum nodes can't be added without a parent.
- install_configure_form_submit in includes/
install.core.inc - Form submission handler for install_configure_form().
- install_system_module in includes/
install.core.inc - Installation task; install the Drupal system module.
- ModuleDependencyTestCase::testMissingModules in modules/
system/ system.test - Attempt to enable a module with a missing dependency.
- ModuleDependencyTestCase::testModuleEnableOrder in modules/
system/ system.test - Tests that module dependencies are enabled in the correct order via the UI. Dependencies should be enabled before their dependents.
- ModuleImplementsAlterTestCase::testModuleImplementsAlter in modules/
simpletest/ tests/ module.test - Tests hook_module_implements_alter() adding an implementation.
- ModuleUnitTest::testDependencyResolution in modules/
simpletest/ tests/ module.test - Test dependency resolution.
- ModuleUnitTest::testModuleImplements in modules/
simpletest/ tests/ module.test - Test module_implements() caching.
- ModuleUnitTest::testModuleInvoke in modules/
simpletest/ tests/ module.test - Test that module_invoke() can load a hook defined in hook_hook_info().
- ModuleUnitTest::testModuleInvokeAll in modules/
simpletest/ tests/ module.test - Test that module_invoke_all() can load a hook defined in hook_hook_info().
- ModuleUnitTest::testModuleList in modules/
simpletest/ tests/ module.test - The basic functionality of module_list().
- NodeTypeTestCase::testNodeTypeStatus in modules/
node/ node.test - Tests that node_types_rebuild() correctly handles the 'disabled' flag.
- SystemInfoAlterTestCase::testSystemInfoAlter in modules/
system/ system.test - Tests that {system}.info is rebuilt after a module that implements hook_system_info_alter() is enabled. Also tests if core *_list() functions return freshly altered info.
- SystemThemeFunctionalTest::testPerThemeSettings in modules/
system/ system.test - Test the individual per-theme settings form.
- system_modules_submit in modules/
system/ system.admin.inc - Submit callback; handles modules form submission.
- system_update_7020 in modules/
system/ system.install - Enable field and field_ui modules.
- system_update_7027 in modules/
system/ system.install - Enable field type modules.
- system_update_7060 in modules/
system/ system.install - Create fields in preparation for migrating upload.module to file.module.
- TaxonomyVocabularyTestCase::testUninstallReinstall in modules/
taxonomy/ taxonomy.test - Test uninstall and reinstall of the taxonomy module.
- ThemeTestCase::testRegistryRebuild in modules/
simpletest/ tests/ theme.test - Ensures the theme registry is rebuilt when modules are disabled/enabled.
- _install_module_batch in includes/
install.core.inc - Implements callback_batch_operation().