public function JuiceboxFormatter::getGlobalSettings in Juicebox HTML5 Responsive Image Galleries 8.3
Same name and namespace in other branches
- 8.2 src/JuiceboxFormatter.php \Drupal\juicebox\JuiceboxFormatter::getGlobalSettings()
Getter method for common global settings.
Return value
array Returns an associative array of global gallery settings.
Overrides JuiceboxFormatterInterface::getGlobalSettings
3 calls to JuiceboxFormatter::getGlobalSettings()
- JuiceboxFormatter::buildEmbed in src/
JuiceboxFormatter.php - Build a render array for the embed code of a Juicebox gallery.
- JuiceboxFormatter::runCommonBuild in src/
JuiceboxFormatter.php - Common post-build task.
- JuiceboxFormatter::styleImage in src/
JuiceboxFormatter.php - Utility to style an individual file entity for use in a Juicebox gallery.
File
- src/
JuiceboxFormatter.php, line 189
Class
- JuiceboxFormatter
- Class to define a Drupal service with common formatter methods.
Namespace
Drupal\juiceboxCode
public function getGlobalSettings() {
return $this->configFactory
->get('juicebox.settings')
->get();
}