You are here

function _radioactivity_get_decay_profiles in Radioactivity 5

Retrieves decay profiles in array. The array key is decay profile id (positive int) and the value is the decay profile. The profile is array as follows: "label" -> The profile label "description -> The profile description "half_life" -> The radioactivity half-life (in seconds)

8 calls to _radioactivity_get_decay_profiles()
radioactivity_admin_delete_profile_form in ./radioactivity.module
radioactivity_admin_delete_profile_form_submit in ./radioactivity.module
radioactivity_admin_profile_form in ./radioactivity.module
radioactivity_admin_profile_form_submit in ./radioactivity.module
radioactivity_admin_profile_list in ./radioactivity.module

... See full list

File

./radioactivity.inc, line 40

Code

function _radioactivity_get_decay_profiles() {
  $decay_profiles = variable_get("radioactivity_profiles", array());
  return $decay_profiles;
}