You are here

public function AssetInjectorBase::getCode in Asset Injector 8

Same name and namespace in other branches
  1. 8.2 src/Entity/AssetInjectorBase.php \Drupal\asset_injector\Entity\AssetInjectorBase::getCode()

Get te asset's code.

Return value

string The code of the asset.

Overrides AssetInjectorInterface::getCode

File

src/Entity/AssetInjectorBase.php, line 153

Class

AssetInjectorBase
Class AssetInjectorBase: Base asset injector class.

Namespace

Drupal\asset_injector\Entity

Code

public function getCode() {
  return $this->code;
}