function farm_log_action_info in farmOS 7
Implements hook_action_info().
File
- modules/
farm/ farm_log/ farm_log.module, line 70 - Code for the Farm Log feature.
Code
function farm_log_action_info() {
return array(
'farm_log_asset_action' => array(
'type' => 'farm_asset',
'label' => t('Add log'),
'configurable' => TRUE,
'triggers' => array(
'any',
),
'aggregate' => TRUE,
),
'farm_log_assign_action' => array(
'type' => 'log',
'label' => t('Assign'),
'configurable' => TRUE,
'triggers' => array(
'any',
),
),
);
}