function AssetsStream::basePath
Same name in other branches
- 11.x core/lib/Drupal/Core/StreamWrapper/AssetsStream.php \Drupal\Core\StreamWrapper\AssetsStream::basePath()
Overrides PublicStream::basePath
1 call to AssetsStream::basePath()
- FileSystemForm::buildForm in core/
modules/ system/ src/ Form/ FileSystemForm.php - Form constructor.
File
-
core/
lib/ Drupal/ Core/ StreamWrapper/ AssetsStream.php, line 41
Class
- AssetsStream
- Defines a Drupal stream wrapper class for optimized assets (assets://).
Namespace
Drupal\Core\StreamWrapperCode
public static function basePath($site_path = NULL) : string {
return Settings::get('file_assets_path', parent::basePath($site_path));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.