You are here

public function JuiceboxGalleryDecorator::renderEmbed in Juicebox HTML5 Responsive Image Galleries 7.2

Get the embed code for a Juicebox gallery once images and options have been added.

Return value

string Embed code markup describing a gallery.

Overrides JuiceboxGalleryInterface::renderEmbed

File

includes/JuiceboxGalleryDecorator.inc, line 115
Base decorator class for a Juicebox Gallery.

Class

JuiceboxGalleryDecorator
Base decorator class for a Juicebox Gallery.

Code

public function renderEmbed() {
  return $this->gallery
    ->renderEmbed();
}