You are here

public function JuiceboxGalleryDrupal::__construct in Juicebox HTML5 Responsive Image Galleries 7.2

Constructor.

Parameters

JuiceboxGalleryInterface $gallery: A plain-PHP Juicebox gallery object.

array $library: An associative array of Library data as made available by the Libraries API.

Overrides JuiceboxGalleryDecorator::__construct

File

includes/JuiceboxGalleryDrupal.inc, line 34
Class to extend a JuiceboxGalleryDecorator object with Drupal-specific logic and structures.

Class

JuiceboxGalleryDrupal
Class to extend a JuiceboxGalleryDecorator object with Drupal-specific logic and structures.

Code

public function __construct(JuiceboxGalleryInterface $gallery, $library) {
  $this->gallery = $gallery;
  $this->library = $library;
}