You are here

farm_log_activity.module in farmOS 7

Code for the Farm Log: Activity feature.

File

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

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

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

/**
 * Implements hook_farm_ui_entities().
 */
function farm_log_activity_farm_ui_entities() {
  return array(
    'log' => array(
      'farm_activity' => array(
        'label' => t('Activity'),
        'label_plural' => t('Activities'),
        'view' => 'farm_log_activity',
        'areas' => TRUE,
        'weight' => -10,
      ),
    ),
  );
}

Functions