public function BlazyConfigEntityBase::getSettings in Blazy 8.2
Returns the array of settings.
Parameters
string $ansich: Whether to return the settings as is.
Return value
array The array of settings.
Overrides BlazyConfigEntityBaseInterface::getSettings
File
- src/
Dejavu/ BlazyConfigEntityBase.php, line 68
Class
- BlazyConfigEntityBase
- Defines the common configuration entity.
Namespace
Drupal\blazy\DejavuCode
public function getSettings($ansich = FALSE) {
if ($ansich && isset($this->options['settings'])) {
return $this->options['settings'];
}
// With the Optimized options, all defaults are cleaned out, merge em.
return isset($this->options['settings']) ? array_merge(self::defaultSettings(), $this->options['settings']) : self::defaultSettings();
}