public function AssetInjectorBase::getCode in Asset Injector 8.2
Same name and namespace in other branches
- 8 src/Entity/AssetInjectorBase.php \Drupal\asset_injector\Entity\AssetInjectorBase::getCode()
Get the asset's code.
Return value
string The code of the asset.
Overrides AssetInjectorInterface::getCode
File
- src/
Entity/ AssetInjectorBase.php, line 117
Class
- AssetInjectorBase
- Class AssetInjectorBase: Base asset injector class.
Namespace
Drupal\asset_injector\EntityCode
public function getCode() {
return $this->code;
}