You are here

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

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

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

bool Returns TRUE on successful removal and FALSE on failure.

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

File

src/JuiceboxGalleryInterface.php, line 172

Class

JuiceboxGalleryInterface
Interface definition for a Juicebox gallery.

Namespace

Drupal\juicebox

Code

public function removeOption($option_name);