public function PhotosImageStorageInterface::updatePhotosAlbum in Album Photos 8.5
Same name and namespace in other branches
- 6.0.x src/PhotosImageStorageInterface.php \Drupal\photos\PhotosImageStorageInterface::updatePhotosAlbum()
Moves an image from one album to another.
Parameters
\Drupal\photos\PhotosImageInterface $image: The image entity.
int $new_album: The new image album.
Return value
bool If the image was successfully moved or not.
1 method overrides PhotosImageStorageInterface::updatePhotosAlbum()
- PhotosImageStorage::updatePhotosAlbum in src/
PhotosImageStorage.php - Moves an image from one album to another.
File
- src/
PhotosImageStorageInterface.php, line 58
Class
- PhotosImageStorageInterface
- Defines an interface for photos image entity storage classes.
Namespace
Drupal\photosCode
public function updatePhotosAlbum(PhotosImageInterface $image, $new_album);