farm_livestock_weight.install in farmOS 7
Farm livestock weight install.
File
modules/farm/farm_livestock/farm_livestock_weight/farm_livestock_weight.installView source
<?php
/**
* @file
* Farm livestock weight install.
*/
/**
* Install the Farm Report module (dependency of Livestock Weight Report).
*/
function farm_livestock_weight_update_7000(&$sandbox) {
$module = 'farm_report';
if (!module_exists($module)) {
module_enable(array(
$module,
));
}
}
Functions
Name![]() |
Description |
---|---|
farm_livestock_weight_update_7000 | Install the Farm Report module (dependency of Livestock Weight Report). |