You are here

public function BlazyManagerBase::getCommonSettings in Blazy 7

Same name and namespace in other branches
  1. 8.2 src/BlazyManagerBase.php \Drupal\blazy\BlazyManagerBase::getCommonSettings()
  2. 8 src/BlazyManagerBase.php \Drupal\blazy\BlazyManagerBase::getCommonSettings()

Returns the common settings inherited down to each item.

2 calls to BlazyManagerBase::getCommonSettings()
BlazyFormatter::buildSettings in src/BlazyFormatter.php
BlazyManager::prepareBuild in src/BlazyManager.php
Prepares Blazy outputs, extract items, and returns updated $settings.

File

src/BlazyManagerBase.php, line 173

Class

BlazyManagerBase
Implements BlazyManagerInterface.

Namespace

Drupal\blazy

Code

public function getCommonSettings() {
  return array_intersect_key(variable_get('blazy.settings'), BlazyDefault::uiSettings());
}