You are here

function rotor_plugin_row_rotor::options_form in Rotor Banner 7

Same name and namespace in other branches
  1. 6.2 views/rotor_plugin_row_rotor.inc \rotor_plugin_row_rotor::options_form()

Render the given style.

Overrides views_plugin_row::options_form

File

views/rotor_plugin_row_rotor.inc, line 37
GMap style plugin.

Class

rotor_plugin_row_rotor
Style plugin to render a map.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  if (module_exists('imagecache')) {
    $presets[0] = t('None');
    $presets += rotor_get_imagecache_presets();
    $form['imagecache_preset'] = array(
      '#type' => 'select',
      '#title' => t('Imagecache preset'),
      '#default_value' => $this->options['imagecache_preset'],
      '#options' => $presets,
      '#description' => t('Select the imagecache preset to use with the images.'),
    );
  }
}