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\EntityCode
public function extension() {
return 'js';
}