public function PhotosImage::__construct in Album Photos 8.5
Same name in this branch
- 8.5 src/PhotosImage.php \Drupal\photos\PhotosImage::__construct()
- 8.5 src/Plugin/migrate/destination/PhotosImage.php \Drupal\photos\Plugin\migrate\destination\PhotosImage::__construct()
Same name and namespace in other branches
- 8.4 src/PhotosImage.php \Drupal\photos\PhotosImage::__construct()
Constructs a PhotosImage object.
Parameters
int $fid: Fild ID {file_managed}.fid.
File
- src/
PhotosImage.php, line 28
Class
- PhotosImage
- Create images object.
Namespace
Drupal\photosCode
public function __construct($fid) {
$this->fid = $fid;
}