You are here

public function JuiceboxGalleryInterface::removeImage in Juicebox HTML5 Responsive Image Galleries 8.2

Same name and namespace in other branches
  1. 8.3 src/JuiceboxGalleryInterface.php \Drupal\juicebox\JuiceboxGalleryInterface::removeImage()

Remove an image from the gallery.

Parameters

int $id: The id of an existing image that was already added to the gallery. This id should match the index for the image as returned by getImages().

Return value

bool Returns TRUE on successful removal and FALSE on failure.

1 method overrides JuiceboxGalleryInterface::removeImage()
JuiceboxGallery::removeImage in src/JuiceboxGallery.php
Remove an image from the gallery.

File

src/JuiceboxGalleryInterface.php, line 125

Class

JuiceboxGalleryInterface
Interface definition for a Juicebox gallery.

Namespace

Drupal\juicebox

Code

public function removeImage($id);