You are here

function views_handler_field_user_picture::options_form in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.3 modules/user/views_handler_field_user_picture.inc \views_handler_field_user_picture::options_form()

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

Overrides views_handler_field::options_form

File

modules/user/views_handler_field_user_picture.inc, line 44

Class

views_handler_field_user_picture
Field handler to provide simple renderer that allows using a themed user link.

Code

function options_form(&$form, &$form_state) {
  parent::options_form($form, $form_state);
  $form['link_photo_to_profile'] = array(
    '#title' => t("Link to user's its profile"),
    '#description' => t("Link the user picture to the user's profile"),
    '#type' => 'checkbox',
    '#default_value' => $this->options['link_photo_to_profile'],
  );
}