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