Add a "Tillage" log category.

This commit is contained in:
Michael Stenta 2018-12-19 09:43:18 -05:00
parent 959ceffc6c
commit 077a4e634c
2 changed files with 9 additions and 2 deletions

View File

@ -63,3 +63,10 @@ function farm_soil_update_7000(&$sandbox) {
function farm_soil_update_7001(&$sandbox) {
module_enable(array('farm_soil_nrcs'));
}
/**
* Add the "Tillage" log category.
*/
function farm_soil_update_7002(&$sandbox) {
farm_log_categories_create(array('Tillage'));
}

View File

@ -11,6 +11,6 @@ include_once 'farm_soil.features.inc';
*/
function farm_soil_farm_log_categories() {
// Provide an "Soil" log category.
return array('Soil');
// Provide log categories: Soil, Tillage.
return array('Soil', 'Tillage');
}