You are here

function bynder_file_formatter_image_settings in Bynder 7

Implements hook_file_formatter_FORMATTER_settings().

1 string reference to 'bynder_file_formatter_image_settings'
bynder_file_formatter_info_alter in includes/bynder.formatters.inc
Implements hook_file_formatter_info(). $info: Array of information on file formatters exposed by hook_file_formatter_info() implementations.

File

includes/bynder.formatters.inc, line 55
bynder/includes/bynder.formatters.inc Formatters for Media: Bynder.

Code

function bynder_file_formatter_image_settings($form, &$form_state, $settings) {
  $element = array();
  $element['image_style'] = array(
    '#title' => t('Image style'),
    '#type' => 'select',
    '#options' => image_style_options(false),
    '#default_value' => $settings['image_style'],
    '#empty_option' => t('None (original image)'),
  );
  return $element;
}