You are here

public function AssetFileStorage::__construct in Asset Injector 8

Same name and namespace in other branches
  1. 8.2 src/AssetFileStorage.php \Drupal\asset_injector\AssetFileStorage::__construct()

AssetFileStorage constructor.

Parameters

AssetInjectorInterface $asset: The asset.

File

src/AssetFileStorage.php, line 40

Class

AssetFileStorage
Class AssetFileStorage.

Namespace

Drupal\asset_injector

Code

public function __construct(AssetInjectorInterface $asset) {
  $this->asset = $asset;
}