function AssetsStream::basePath

Same name in other branches
  1. 10 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\StreamWrapper

Code

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.