You are here

public function JuiceboxFormatterInterface::confBaseForm in Juicebox HTML5 Responsive Image Galleries 8.2

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

Get common elements for Juicebox configuration forms.

Several Juicebox gallery types can share common options and structures. These can be merged into the appropriate forms via a call to this method.

Parameters

array $form: The Drupal form array that common elements should be added to.

array $settings: An associative array containing all the current settings for a Juicebox gallery (used to set default values).

Return value

array The common form elements merged within a form array.

1 method overrides JuiceboxFormatterInterface::confBaseForm()
JuiceboxFormatter::confBaseForm in src/JuiceboxFormatter.php
Get common elements for Juicebox configuration forms.

File

src/JuiceboxFormatterInterface.php, line 168

Class

JuiceboxFormatterInterface
Interface definition for a Juicebox Formatter service.

Namespace

Drupal\juicebox

Code

public function confBaseForm(array $form, array $settings);