You are here

public function Lazy::getSettings in Lazy-load 8.3

Get Lazy module settings.

Return value

array Settings array.

Overrides LazyInterface::getSettings

1 call to Lazy::getSettings()
Lazy::isPathAllowed in src/Lazy.php
Is lazy-loading allowed for current path?

File

src/Lazy.php, line 84

Class

Lazy
Lazy-load service.

Namespace

Drupal\lazy

Code

public function getSettings() : array {
  $this->moduleHandler
    ->alter('lazy_settings', $this->lazySettings);
  return $this->lazySettings ?? [];
}