You are here

function farm_asset_action_info in farmOS 7

Implements hook_action_info().

File

modules/farm/farm_asset/farm_asset.module, line 374
Farm asset - A farm asset entity type.

Code

function farm_asset_action_info() {
  return array(
    'farm_asset_archive_action' => array(
      'type' => 'farm_asset',
      'label' => t('Archive'),
      'configurable' => FALSE,
      'triggers' => array(
        'any',
      ),
    ),
    'farm_asset_unarchive_action' => array(
      'type' => 'farm_asset',
      'label' => t('Unarchive'),
      'configurable' => FALSE,
      'triggers' => array(
        'any',
      ),
    ),
    'farm_asset_clone_action' => array(
      'type' => 'farm_asset',
      'label' => t('Clone'),
      'configurable' => FALSE,
      'triggers' => array(
        'any',
      ),
    ),
  );
}