ProfileStream.php in System stream wrapper 8
File
src/StreamWrapper/ProfileStream.php
View source
<?php
namespace Drupal\system_stream_wrapper\StreamWrapper;
class ProfileStream extends ModuleStream {
use LocalStreamTrait;
protected function getOwnerName() {
return \Drupal::installProfile();
}
public function getName() {
return $this
->t('Installed profile files');
}
public function getDescription() {
return $this
->t('Local files stored under installed profile directory.');
}
}
Classes
Name |
Description |
ProfileStream |
Defines the read-only profile:// stream wrapper for installed profile files. |