You are here

function track_da_files_rules_event_info in Track da files 7

Same name and namespace in other branches
  1. 8 includes/track_da_files.rules.inc \track_da_files_rules_event_info()

Implements hook_rules_event_info().

File

./track_da_files.rules.inc, line 11
Rules specific functions for Track da files module.

Code

function track_da_files_rules_event_info() {
  return array(
    'track_da_files' => array(
      'group' => t('Track da files'),
      'label' => t('A file has been displayed'),
      'module' => 'track_da_files',
      'variables' => array(
        'file' => array(
          'type' => 'file',
          'label' => t('Displayed file'),
        ),
        'user' => array(
          'type' => 'user',
          'label' => t('User displaying file'),
        ),
      ),
    ),
  );
}