Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AssetsStream.php

function 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));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal