function views_handler_field_file::option_definition

Overrides views_handler_field::option_definition

2 calls to views_handler_field_file::option_definition()
views_handler_field_file_filemime::option_definition in modules/system/views_handler_field_file_filemime.inc
Information about options for all kinds of purposes will be held here.
views_handler_field_file_uri::option_definition in modules/system/views_handler_field_file_uri.inc
Information about options for all kinds of purposes will be held here.
2 methods override views_handler_field_file::option_definition()
views_handler_field_file_filemime::option_definition in modules/system/views_handler_field_file_filemime.inc
Information about options for all kinds of purposes will be held here.
views_handler_field_file_uri::option_definition in modules/system/views_handler_field_file_uri.inc
Information about options for all kinds of purposes will be held here.

File

modules/system/views_handler_field_file.inc, line 28

Class

views_handler_field_file
Field handler to provide simple renderer that allows linking to a file.

Code

public function option_definition() {
    $options = parent::option_definition();
    $options['link_to_file'] = array(
        'default' => FALSE,
        'bool' => TRUE,
    );
    return $options;
}