You are here

function theme_mediafront_player_formatter in MediaFront 7

Theme for the Media Player field.

1 theme call to theme_mediafront_player_formatter()
mediafront_field_formatter_view in includes/mediafront.field.inc
Implements hook_field_formatter_view().

File

includes/mediafront.field.inc, line 119

Code

function theme_mediafront_player_formatter($variables) {
  $variables = array_shift($variables);
  $preset = $variables['#preset'];
  $entity = $variables['#entity'];
  return theme('mediafront_player', array(
    'entity' => $entity,
    'preset' => $preset,
  ));
}