You are here

public function VendorStreamWrapper::getName in Vendor Stream Wrapper 8

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

Return value

string The stream wrapper name.

Overrides StreamWrapperInterface::getName

File

src/StreamWrapper/VendorStreamWrapper.php, line 19

Class

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

Namespace

Drupal\vendor_stream_wrapper\StreamWrapper

Code

public function getName() {
  return $this
    ->t('Vendor Files');
}