You are here

function scald_image_scald_player_settings_form in Scald: Media Management made easy 7

Implements hook_scald_player_settings_form().

File

modules/providers/scald_image/scald_image.module, line 179
Scald Image is a Scald Atom Provider for images.

Code

function scald_image_scald_player_settings_form($form, &$form_state) {
  $element = array();
  $element['classes'] = array(
    '#type' => 'textfield',
    '#title' => t('CSS classes'),
    '#size' => 40,
    '#default_value' => $form['#scald']['player_settings']['classes'],
  );
  $element['caption'] = array(
    '#type' => 'textfield',
    '#title' => t('Text pattern used for caption'),
    '#size' => 40,
    '#default_value' => $form['#scald']['player_settings']['caption'],
  );
  return $element;
}