public function JuiceboxGalleryInterface::renderXml in Juicebox HTML5 Responsive Image Galleries 8.2
Same name and namespace in other branches
- 8.3 src/JuiceboxGalleryInterface.php \Drupal\juicebox\JuiceboxGalleryInterface::renderXml()
Render the XML for Juicebox gallery once images and options are added.
Parameters
string $script_wrap_id: If a value is passed the XML will be wrapped inside <script> tags with this id. If no value is passed, no <script> wrapper will be used and the raw XML will be returned. This is useful if the XML will be embedded inside normal HTML.
Return value
string Structured Juicebox XML describing a gallery. Note that no header data is set or returned here.
1 method overrides JuiceboxGalleryInterface::renderXml()
- JuiceboxGallery::renderXml in src/
JuiceboxGallery.php - Render the XML for Juicebox gallery once images and options are added.
File
- src/
JuiceboxGalleryInterface.php, line 196
Class
- JuiceboxGalleryInterface
- Interface definition for a Juicebox gallery.
Namespace
Drupal\juiceboxCode
public function renderXml($script_wrap_id = NULL);