public function ProviderInterface::getAssets in Express 8
Retrieves Provider assets for the active provider, if any.
Parameters
string|array $types: The type of asset to retrieve: "css" or "js", defaults to an array array containing both if not set.
Return value
array If $type is a string or an array with only one (1) item in it, the assets are returned as an indexed array of files. Otherwise, an associative array is returned keyed by the type.
1 method overrides ProviderInterface::getAssets()
- ProviderBase::getAssets in themes/
contrib/ bootstrap/ src/ Plugin/ Provider/ ProviderBase.php - Retrieves Provider assets for the active provider, if any.
File
- themes/
contrib/ bootstrap/ src/ Plugin/ Provider/ ProviderInterface.php, line 39 - Contains \Drupal\bootstrap\Plugin\Provider\ProviderInterface.
Class
- ProviderInterface
- ProviderInterface.
Namespace
Drupal\bootstrap\Plugin\ProviderCode
public function getAssets($types = NULL);