public function PhotosUploadInterface::saveImage in Album Photos 6.0.x
Same name and namespace in other branches
- 8.5 src/PhotosUploadInterface.php \Drupal\photos\PhotosUploadInterface::saveImage()
Attach image file to PhotosImage entity.
Parameters
\Drupal\file\FileInterface $file: The file entity.
Return value
bool TRUE if image saved successfully.
1 method overrides PhotosUploadInterface::saveImage()
- PhotosUpload::saveImage in src/
PhotosUpload.php - Attach image file to PhotosImage entity.
File
- src/
PhotosUploadInterface.php, line 46
Class
- PhotosUploadInterface
- Photos upload and file management functions.
Namespace
Drupal\photosCode
public function saveImage(FileInterface $file);