file_managed_file_submit($form, FormStateInterface $form_state) Form submission handler for upload / remove
file_file_predelete(File $file) Implements
file_validate_extensions(FileInterface $file, $extensions) Checks that the filename ends with an allowed extension
file_validate_is_image(FileInterface $file) Checks that the file is recognized as a valid image.
file_get_file_references(FileInterface $file, FieldDefinitionInterface $field = NULL, $age = EntityStorageInterface::FIELD_LOAD_REVISION, $field_type
Defines a "managed_file" Form API field and a "file" field for Field module. File core/modules/file/file
file_load($fid, $reset = FALSE) Loads a single file entity from the database.
_views_file_status($choice = NULL) Formats human-readable version of file status.
file_help($route_name, RouteMatchInterface $route_match) Implements
file_validate_size(FileInterface $file, $file_limit = 0, $user_limit = 0) Checks that the file's size is below
Page 3 of 3