file_managed_file_submit($form, FormStateInterface $form_state) Form submission handler for upload / remove
public DatabaseFileUsageBackend::li
public ExtensionMimeTypeGuesser::setMapping(array
public FileInterface::setTemporary() Sets
public FileSystem::unlink($uri, $context = NULL) Deletes
public File::getMimeType() Returns the
Defines an interface for file entity storage classes. Hierarchy interface \Drupal\Core\Entity\
file_validate_is_image(FileInterface $file) Checks that the file is recognized as a valid image.
Defines a MIME type guesser that also supports stream wrapper paths. Hierarchy class
public File::getFilename() Returns the
Page 14 of 18