You are here

function farm_metrics_farm_info in farmOS 7

Implements hook_farm_info().

File

modules/farm/farm_metrics/farm_metrics.module, line 44
Farm metrics module.

Code

function farm_metrics_farm_info() {
  if (user_access('access farm metrics')) {
    return array(
      'metrics' => farm_metrics(),
    );
  }
}