You are here

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

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

Get the image style preset options.

Options that should be available in configuration style picklists.

This is in may ways just a wrapper for image_style_options() that allows the addition of specical options that only Juicebox understands (e.g. "multi-size").

Parameters

bool $allow_multisize: Whether-or-not to allow the addition of a PRO "multi-size" option. This is only included if this option is TRUE and the currently detected library is compatible with multi-size features.

Return value

array An associative array of style presets.

1 method overrides JuiceboxFormatterInterface::confBaseStylePresets()
JuiceboxFormatter::confBaseStylePresets in src/JuiceboxFormatter.php
Get the image style preset options.

File

src/JuiceboxFormatterInterface.php, line 187

Class

JuiceboxFormatterInterface
Interface definition for a Juicebox Formatter service.

Namespace

Drupal\juicebox

Code

public function confBaseStylePresets($allow_multisize = TRUE);