You are here

function _farm_update_enable_modules in farmOS 7

Update helper function: enable modules.

32 calls to _farm_update_enable_modules()
farm_update_7001 in ./farm.install
Update to Openlayers 3
farm_update_7002 in ./farm.install
Enable Entity Reference View Widget.
farm_update_7004 in ./farm.install
Enable the RESTful Web Services module.
farm_update_7006 in ./farm.install
Autorotate images.
farm_update_7007 in ./farm.install
Install Farm Access and Role Delegation, uninstall Farm Manager.

... See full list

File

./farm.install, line 1014
farmOS install file.

Code

function _farm_update_enable_modules($modules = array()) {
  foreach ($modules as $module) {
    if (!module_exists($module)) {
      module_enable(array(
        $module,
      ));
    }
  }
}