public static function File::create in Drupal 10        
                          
                  
                        Same name and namespace in other branches
- 9 core/modules/file/src/Plugin/views/field/File.php \Drupal\file\Plugin\views\field\File::create()
 
 
File
 
   - core/modules/file/src/Plugin/views/field/File.php, line 49
 
  
  Class
  
  - File 
 
  - Field handler to provide simple renderer that allows linking to a file.
 
  Namespace
  Drupal\file\Plugin\views\field
Code
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('file_url_generator'));
}