public function AssetContainer::getIndexAssetUri in Mini site 8
Get a URI of the index asset.
Return value
null|string The URI of the index asset or NULL if no asset found.
File
- src/
AssetContainer.php, line 95
Class
- AssetContainer
- Class Asset.
Namespace
Drupal\minisiteCode
public function getIndexAssetUri() {
$asset = $this
->getIndexAsset();
return $asset ? $asset
->getUri() : NULL;
}