function views_handler_field_upload_description::init

Overrides views_handler_field::init

File

modules/upload/views_handler_field_upload_description.inc, line 7

Class

views_handler_field_upload_description
Field handler to provide a list of roles.

Code

function init(&$view, $options) {
    parent::init($view, $options);
    if (!empty($options['link_to_file'])) {
        $this->additional_fields['fid'] = 'fid';
    }
}