You are here

public function JuiceboxGalleryInterface::removeOption in Juicebox HTML5 Responsive Image Galleries 7.2

Remove an option from the gallery.

Parameters

string $option_name: The name of an existing option that was already added to the gallery. This name should match the index for the option as returned by getOptions().

Return value

boolean Returns TRUE on successful removal and FALSE on failure.

2 methods override JuiceboxGalleryInterface::removeOption()
JuiceboxGallery::removeOption in includes/JuiceboxGallery.inc
Remove an option from the gallery.
JuiceboxGalleryDecorator::removeOption in includes/JuiceboxGalleryDecorator.inc
Remove an option from the gallery.

File

includes/JuiceboxGalleryInterface.inc, line 170
Interface definition for a Juicebox gallery.

Class

JuiceboxGalleryInterface
Interface definition for a Juicebox gallery.

Code

public function removeOption($option_name);