You are here

public function JsInjector::extension in Asset Injector 8

Gets the file extension of the asset.

Return value

string JS extension.

Overrides AssetInjectorBase::extension

File

src/Entity/JsInjector.php, line 69

Class

JsInjector
Defines the Js Injector entity.

Namespace

Drupal\asset_injector\Entity

Code

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