function views_handler_field_file_uri::options_form
Overrides views_handler_field_file::options_form
File
-
modules/
system/ views_handler_field_file_uri.inc, line 26
Class
- views_handler_field_file_uri
- Field handler to add rendering file paths as file URLs instead of as internal file URIs.
Code
public function options_form(&$form, &$form_state) {
$form['file_download_path'] = array(
'#title' => t('Display download path instead of file storage URI'),
'#description' => t('This will provide the full download URL rather than the internal filestream address.'),
'#type' => 'checkbox',
'#default_value' => !empty($this->options['file_download_path']),
);
parent::options_form($form, $form_state);
}