You are here

public function JuiceboxFormatterInterface::newGallery in Juicebox HTML5 Responsive Image Galleries 8.3

Same name and namespace in other branches
  1. 8.2 src/JuiceboxFormatterInterface.php \Drupal\juicebox\JuiceboxFormatterInterface::newGallery()

Create and initialize a new Juicebox gallery object.

Parameters

array $id_args: An indexed array of simple string arguments that describe this gallery. This is typically based on the arguments that will be used to create a URL for the gallery XML, but no formal structure is strictly required. This information should uniquely identify the gallery.

Return value

Drupal\juicebox\JuiceboxGalleryInterface An initialized Juicebox gallery object.

1 method overrides JuiceboxFormatterInterface::newGallery()
JuiceboxFormatter::newGallery in src/JuiceboxFormatter.php
Create and initialize a new Juicebox gallery object.

File

src/JuiceboxFormatterInterface.php, line 24

Class

JuiceboxFormatterInterface
Interface definition for a Juicebox Formatter service.

Namespace

Drupal\juicebox

Code

public function newGallery(array $id_args);