Method | Description | |
---|---|---|
addJquery ( ) | Add jQuery to the output. | |
disableJquery ( ) | Don't add jQuery to the output. | |
extendAssetServices ( ) | Call this in register method. | |
getBaseDirectory ( ) : Bolt\Filesystem\Handler\DirectoryInterface | ||
getContainer ( ) : Pimple | ||
getName ( ) : string | ||
getWebDirectory ( ) : Bolt\Filesystem\Handler\DirectoryInterface | ||
registerAssets ( ) : Bolt\Asset\AssetInterface[] | Returns a list of assets to register. Assets can be a file, snippet, or widget. |
Method | Description | |
---|---|---|
addAsset ( Bolt\Asset\AssetInterface $asset ) | Add an file, snippet or widget asset to the render queue. | |
isAbsoluteUrl ( string $url ) : boolean | ||
loadAssets ( ) | Merges assets returned from registerAssets() to our list. | |
normalizeAsset ( Bolt\Asset\File\FileAssetInterface $asset ) | Normalizes the path and package name of the asset file. |
final protected extendAssetServices ( ) |
abstract protected getBaseDirectory ( ) : Bolt\Filesystem\Handler\DirectoryInterface | ||
return | Bolt\Filesystem\Handler\DirectoryInterface |
abstract protected getWebDirectory ( ) : Bolt\Filesystem\Handler\DirectoryInterface | ||
return | Bolt\Filesystem\Handler\DirectoryInterface |
protected registerAssets ( ) : Bolt\Asset\AssetInterface[] | ||
return | Bolt\Asset\AssetInterface[] |