function AssetsStream::getDescription

Same name in other branches
  1. 11.x core/lib/Drupal/Core/StreamWrapper/AssetsStream.php \Drupal\Core\StreamWrapper\AssetsStream::getDescription()

Overrides PublicStream::getDescription

File

core/lib/Drupal/Core/StreamWrapper/AssetsStream.php, line 34

Class

AssetsStream
Defines a Drupal stream wrapper class for optimized assets (assets://).

Namespace

Drupal\Core\StreamWrapper

Code

public function getDescription() : string {
    return $this->t('Public local optimized assets files served by the webserver.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.