function assetic_init

Initializes the global Assetic object.

Parameters

AssetFactory $factory The asset factory:

File

drupal/core/vendor/kriswallsmith/assetic/src/functions.php, line 20

Code

function assetic_init(AssetFactory $factory) {
  global $_assetic;
  $_assetic = new stdClass();
  $_assetic->factory = $factory;
}