You are here

function farm_soil_farm_quick_forms in farmOS 7

Implements hook_farm_quick_forms().

File

modules/farm/farm_soil/farm_soil.farm_quick.inc, line 10
Farm soil quick forms.

Code

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',
    ),
  );
}