You are here

public function AssetInjectorJs::extension in Asset Injector 8.2

Gets the file extension of the asset.

Return value

string JS extension.

Overrides AssetInjectorBase::extension

File

src/Entity/AssetInjectorJs.php, line 97

Class

AssetInjectorJs
Defines the Js Injector entity.

Namespace

Drupal\asset_injector\Entity

Code

public function extension() {
  return 'js';
}