You are here

farm_log_observation.module in farmOS 7

Code for the Farm Log: Observation feature.

File

modules/farm/farm_log/farm_log_observation/farm_log_observation.module
View source
<?php

/**
 * @file
 * Code for the Farm Log: Observation feature.
 */

// Include Features code.
include_once 'farm_log_observation.features.inc';

/**
 * Implements hook_farm_ui_entities().
 */
function farm_log_observation_farm_ui_entities() {
  return array(
    'log' => array(
      'farm_observation' => array(
        'label' => t('Observation'),
        'label_plural' => t('Observations'),
        'view' => 'farm_log_observation',
        'areas' => TRUE,
        'weight' => -10,
      ),
    ),
  );
}