1 views_handler_field_user.inc | views_handler_field_user::options_form(&$form, &$form_state) |
Provide link to node option
Overrides views_handler_field::options_form
File
- core/
modules/ user/ views/ views_handler_field_user.inc, line 32 - Definition of views_handler_field_user.
Class
- views_handler_field_user
- Field handler to provide simple renderer that allows linking to a user.
Code
function options_form(&$form, &$form_state) {
$form['link_to_user'] = array(
'#title' => t('Link this field to its user'),
'#description' => t("Enable to override this field's links."),
'#type' => 'checkbox',
'#default_value' => $this->options['link_to_user'],
);
parent::options_form($form, $form_state);
}