You are here

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

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

Setter method for the gallery ID (if was not passed in constructor).

Parameters

string $value: The gallery id value to set.

bool $reset: Whether-or-not to reset the current value if it is already set.

Return value

bool Returns TRUE on successful update and FALSE if update not performed.

1 method overrides JuiceboxGalleryInterface::setId()
JuiceboxGallery::setId in src/JuiceboxGallery.php
Setter method for the gallery ID (if was not passed in constructor).

File

src/JuiceboxGalleryInterface.php, line 21

Class

JuiceboxGalleryInterface
Interface definition for a Juicebox gallery.

Namespace

Drupal\juicebox

Code

public function setId($value, $reset = TRUE);