farm_soil.farm_quick.inc in farmOS 7
Farm soil quick forms.
File
modules/farm/farm_soil/farm_soil.farm_quick.incView source
<?php
/**
* @file
* Farm soil quick forms.
*/
/**
* Implements hook_farm_quick_forms().
*/
function farm_soil_farm_quick_forms() {
return array(
'amendment' => array(
'label' => t('Soil amendment'),
'permission' => 'create farm_input log entities',
'form' => 'farm_soil_amendment_form',
'file' => 'farm_soil.farm_quick.amendment.inc',
),
'disturbance' => array(
'label' => t('Soil disturbance'),
'permission' => 'create farm_activity log entities',
'form' => 'farm_soil_disturbance_form',
'file' => 'farm_soil.farm_quick.disturbance.inc',
),
);
}
Functions
Name | Description |
---|---|
farm_soil_farm_quick_forms | Implements hook_farm_quick_forms(). |