public function AssetInjectorBase::internalFileUri in Asset Injector 8
Same name and namespace in other branches
- 8.2 src/Entity/AssetInjectorBase.php \Drupal\asset_injector\Entity\AssetInjectorBase::internalFileUri()
Get internal file uri.
Return value
string Internal file uri like like public://asset_injector/...
Overrides AssetInjectorInterface::internalFileUri
1 call to AssetInjectorBase::internalFileUri()
- AssetInjectorBase::filePathRelativeToDrupalRoot in src/
Entity/ AssetInjectorBase.php - Get file path relative to drupal root to use in library info.
File
- src/
Entity/ AssetInjectorBase.php, line 132
Class
- AssetInjectorBase
- Class AssetInjectorBase: Base asset injector class.
Namespace
Drupal\asset_injector\EntityCode
public function internalFileUri() {
$storage = new AssetFileStorage($this);
return $storage
->createFile();
}