public function JuiceboxGalleryInterface::getJavascriptVars in Juicebox HTML5 Responsive Image Galleries 8.2
Same name and namespace in other branches
- 8.3 src/JuiceboxGalleryInterface.php \Drupal\juicebox\JuiceboxGalleryInterface::getJavascriptVars()
Get the variables needed to instantiate a new JS Juicebox.
These values can be used as direct constructor inputs for a new juicebox object.
Parameters
string $xml_url: The URL to the Juicebox XML for this gallery.
Return value
array An associative array of properties that can be used as direct constructor inputs for a new JS Juicebox object.
1 method overrides JuiceboxGalleryInterface::getJavascriptVars()
- JuiceboxGallery::getJavascriptVars in src/
JuiceboxGallery.php - Get the variables needed to instantiate a new JS Juicebox.
File
- src/
JuiceboxGalleryInterface.php, line 237
Class
- JuiceboxGalleryInterface
- Interface definition for a Juicebox gallery.
Namespace
Drupal\juiceboxCode
public function getJavascriptVars($xml_url);