You are here

function mediafront_get_players in MediaFront 6

Same name and namespace in other branches
  1. 6.2 mediafront.module \mediafront_get_players()
  2. 7.2 mediafront.module \mediafront_get_players()
  3. 7 mediafront.module \mediafront_get_players()

Returns a list of all available players.

1 call to mediafront_get_players()
mediafront_preset_create_form in includes/mediafront.preset.inc
Form builder; the create preset form.

File

./mediafront.module, line 156

Code

function mediafront_get_players() {
  $return = array();
  foreach (module_implements('player_info') as $name) {
    $function = $name . '_player_info';
    $return = array_merge($return, $function());
  }
  return $return;
}