Overrides \Drupal\views\Plugin\views\field\FieldPluginBase::init().
Overrides FieldPluginBase::init
public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
parent::init($view, $display, $options);
if (!empty($options['link_to_file'])) {
$this->additional_fields['uri'] = 'uri';
}
}