You are here

public function VendorStreamWrapper::getDescription in Vendor Stream Wrapper 8

Returns the description of the stream wrapper for use in the UI.

Return value

string The stream wrapper description.

Overrides StreamWrapperInterface::getDescription

File

src/StreamWrapper/VendorStreamWrapper.php, line 26

Class

VendorStreamWrapper
Creates a vendor:// stream wrapper, for files in the vendor folder.

Namespace

Drupal\vendor_stream_wrapper\StreamWrapper

Code

public function getDescription() {
  return $this
    ->t('Vendor local files served by Drupal.');
}