You are here

function radioactivity_rules_action_load_decay_profile in Radioactivity 6

Action: Load a term.

File

modules/radioactivity_rules/radioactivity_rules.module, line 49

Code

function radioactivity_rules_action_load_decay_profile($settings) {
  $profiles = radioactivity_get_decay_profiles();
  $row = $profiles[$settings['decay_profile']];
  $row['id'] = $settings['decay_profile'];
  return array(
    'decay_profile_loaded' => $row,
  );
}