You are here

public function JuiceboxFormatter::confBaseOptions in Juicebox HTML5 Responsive Image Galleries 8.2

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

Get "base" values of common Drupal settings used to describe a gallery.

This is used for the management of default configuration values.

Return value

array An associative array of base/default configuration values.

Overrides JuiceboxFormatterInterface::confBaseOptions

File

src/JuiceboxFormatter.php, line 405

Class

JuiceboxFormatter
Class to define a Drupal service with common formatter methods.

Namespace

Drupal\juicebox

Code

public function confBaseOptions() {
  return [
    'jlib_galleryWidth' => '100%',
    'jlib_galleryHeight' => '100%',
    'jlib_backgroundColor' => '#222222',
    'jlib_textColor' => 'rgba(255,255,255,1)',
    'jlib_thumbFrameColor' => 'rgba(255,255,255,.5)',
    'jlib_showOpenButton' => 1,
    'jlib_showExpandButton' => 1,
    'jlib_showThumbsButton' => 1,
    'jlib_useThumbDots' => 0,
    'jlib_useFullscreenExpand' => 0,
    'manual_config' => '',
    'custom_parent_classes' => '',
    'apply_markup_filter' => 1,
    'linkurl_source' => '',
    'linkurl_target' => '_blank',
    'incompatible_file_action' => 'show_icon_and_link',
  ];
}