public static function AssetInterface::loadByUri in Mini site 8
Load asset by URI location.
Note that this function does not check if the asset file at provided URI actually exists.
Parameters
string $uri: URI of the asset to load by.
Return value
\Drupal\minisite\Asset|null Class instance or NULL if asset cannot be loaded.
1 method overrides AssetInterface::loadByUri()
- Asset::loadByUri in src/
Asset.php - Load asset by URI location.
File
- src/
AssetInterface.php, line 54
Class
- AssetInterface
- Interface AssetInterface.
Namespace
Drupal\minisiteCode
public static function loadByUri($uri);