You are here

function _recommender_database_options in Recommender API 7.6

1 call to _recommender_database_options()
recommender_command_form in ./recommender.module

File

./recommender.module, line 241

Code

function _recommender_database_options() {
  global $databases;
  $options = array();
  foreach ($databases as $name => $target_data) {
    foreach ($target_data as $target => $def) {
      $options["{$name}-{$target}"] = "{$name} - {$target}";
    }
  }
  return $options;
}