You are here

function _farm_install_enable_module in farmOS 7

BatchAPI callback: enable a module.

See also

farm_install_optional_modules()

1 string reference to '_farm_install_enable_module'
farm_install_optional_modules in ./farm.install
Callback function for installing optional farmOS modules via Batch API.

File

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

Code

function _farm_install_enable_module($module, $module_name, &$context) {
  module_enable(array(
    $module,
  ));
  $context['message'] = st('Installed %module module.', array(
    '%module' => $module_name,
  ));
}