public function LazyAssetManager::getNames

Returns an array of asset names.

Return value

array An array of asset names

Overrides AssetManager::getNames

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/LazyAssetManager.php, line 193

Class

LazyAssetManager
A lazy asset manager is a composition of a factory and many formula loaders.

Namespace

Assetic\Factory

Code

public function getNames() {
  if (!$this->loaded) {
    $this
      ->load();
  }
  return array_unique(array_merge(parent::getNames(), array_keys($this->formulae)));
}