public function AssetInjectorBase::internalFileUri in Asset Injector 8.2
Same name and namespace in other branches
- 8 src/Entity/AssetInjectorBase.php \Drupal\asset_injector\Entity\AssetInjectorBase::internalFileUri()
Get internal file uri.
Return value
string Internal file uri 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 96
Class
- AssetInjectorBase
- Class AssetInjectorBase: Base asset injector class.
Namespace
Drupal\asset_injector\EntityCode
public function internalFileUri() {
$storage = new AssetFileStorage($this);
return $storage
->createFile();
}