function AssetsStream::getName

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

Overrides PublicStream::getName

File

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

Class

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

Namespace

Drupal\Core\StreamWrapper

Code

public function getName() : string {
    return $this->t('Optimized assets files');
}

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