You are here

function mediafront_get_players in MediaFront 7

Same name and namespace in other branches
  1. 6.2 mediafront.module \mediafront_get_players()
  2. 6 mediafront.module \mediafront_get_players()
  3. 7.2 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 154

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;
}