Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
module.inc
»
module_enable
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
27 calls to module_enable()
BlockHashTestCase::testBlockRehash
in drupal/
modules/
block/
block.test
Tests that block rehashing does not write to the database too often.
BlockTestCase::testBlockRehash
in drupal/
modules/
block/
block.test
Test
_block_rehash
().
CronRunTestCase::testCronCacheExpiration
in drupal/
modules/
system/
system.test
Tests that
hook_flush_caches
() is not invoked on every single cron run.
DrupalWebTestCase::setUp
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Sets up a Drupal site for running functional and integration tests.
EnableDisableTestCase::testEntityInfoCacheWatchdog
in drupal/
modules/
system/
system.test
Tests entity info cache after enabling a module with a dependency on an entity providing module.
EnableDisableTestCase::testEntityInfoChanges
in drupal/
modules/
system/
system.test
Ensures entity info cache is updated after changes.
FieldCrudTestCase::_testActiveHelper
in drupal/
modules/
field/
tests/
field.test
Helper function for testActive().
ForumTestCase::testAddOrphanTopic
in drupal/
modules/
forum/
forum.test
Tests that forum nodes can't be added without a parent.
install_configure_form_submit
in drupal/
includes/
install.core.inc
Form submission handler for
install_configure_form
().
install_system_module
in drupal/
includes/
install.core.inc
Installation task; install the Drupal system module.
ModuleDependencyTestCase::testMissingModules
in drupal/
modules/
system/
system.test
Attempt to enable a module with a missing dependency.
ModuleDependencyTestCase::testModuleEnableOrder
in drupal/
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 drupal/
modules/
simpletest/
tests/
module.test
Tests
hook_module_implements_alter
() adding an implementation.
ModuleUnitTest::testDependencyResolution
in drupal/
modules/
simpletest/
tests/
module.test
Test dependency resolution.
ModuleUnitTest::testModuleImplements
in drupal/
modules/
simpletest/
tests/
module.test
Test
module_implements
() caching.
ModuleUnitTest::testModuleInvoke
in drupal/
modules/
simpletest/
tests/
module.test
Test that
module_invoke
() can load a hook defined in
hook_hook_info
().
ModuleUnitTest::testModuleInvokeAll
in drupal/
modules/
simpletest/
tests/
module.test
Test that
module_invoke_all
() can load a hook defined in
hook_hook_info
().
ModuleUnitTest::testModuleList
in drupal/
modules/
simpletest/
tests/
module.test
The basic functionality of
module_list
().
NodeTypeTestCase::testNodeTypeStatus
in drupal/
modules/
node/
node.test
Tests that
node_types_rebuild
() correctly handles the 'disabled' flag.
SystemInfoAlterTestCase::testSystemInfoAlter
in drupal/
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.
system_modules_submit
in drupal/
modules/
system/
system.admin.inc
Submit callback; handles modules form submission.
system_update_7020
in drupal/
modules/
system/
system.install
Enable field and field_ui modules.
system_update_7027
in drupal/
modules/
system/
system.install
Enable field type modules.
system_update_7060
in drupal/
modules/
system/
system.install
Create fields in preparation for migrating upload.module to
file.module
.
TaxonomyVocabularyTestCase::testUninstallReinstall
in drupal/
modules/
taxonomy/
taxonomy.test
Test uninstall and reinstall of the taxonomy module.
ThemeTestCase::testRegistryRebuild
in drupal/
modules/
simpletest/
tests/
theme.test
Ensures the theme registry is rebuilt when modules are disabled/enabled.
_install_module_batch
in drupal/
includes/
install.core.inc
Implements
callback_batch_operation
().