You are here

public function JuiceboxGallery::getId in Juicebox HTML5 Responsive Image Galleries 8.2

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

Getter method for the gallery ID.

Return value

string Returns the id value set for the gallery.

Overrides JuiceboxGalleryInterface::getId

1 call to JuiceboxGallery::getId()
JuiceboxGallery::getJavascriptVars in src/JuiceboxGallery.php
Get the variables needed to instantiate a new JS Juicebox.

File

src/JuiceboxGallery.php, line 85

Class

JuiceboxGallery
Class to generate the script and markup for a Juicebox gallery.

Namespace

Drupal\juicebox

Code

public function getId() {
  return $this->id;
}