You are here

function imagecache_profiles_handler_field_user_picture::options_form in ImageCache Profiles 7

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

Default options form provides the label widget that all fields should have.

Overrides views_handler_field_user_picture::options_form

File

views/imagecache_profiles_handler_field_user_picture.inc, line 13

Class

imagecache_profiles_handler_field_user_picture

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $options = $this->options;
  $form['imagecache_preset'] = array(
    '#title' => t('Imagecache preset'),
    '#type' => 'select',
    '#options' => image_style_options(TRUE),
    '#default_value' => $options['imagecache_preset'],
  );
}