You are here

function farm_log_input_farm_ui_entities in farmOS 7

Implements hook_farm_ui_entities().

File

modules/farm/farm_log/farm_log_input/farm_log_input.module, line 13
Code for the Farm Log: Input feature.

Code

function farm_log_input_farm_ui_entities() {
  return array(
    'log' => array(
      'farm_input' => array(
        'label' => t('Input'),
        'label_plural' => t('Inputs'),
        'view' => 'farm_log_input',
        'areas' => TRUE,
        'weight' => 0,
      ),
    ),
    'taxonomy_term' => array(
      'farm_materials' => array(
        'label' => t('Material'),
        'label_plural' => t('Materials'),
      ),
    ),
  );
}