You are here

public function AssetInjectorInterface::extension in Asset Injector 8.2

Same name and namespace in other branches
  1. 8 src/AssetInjectorInterface.php \Drupal\asset_injector\AssetInjectorInterface::extension()

Get file extension.

Return value

string File extension, like 'css' or 'js'.

1 method overrides AssetInjectorInterface::extension()
AssetInjectorBase::extension in src/Entity/AssetInjectorBase.php
Get file extension.

File

src/AssetInjectorInterface.php, line 46

Class

AssetInjectorInterface
Provides an interface for defining Asset Injector entities.

Namespace

Drupal\asset_injector

Code

public function extension();