public function MimeStreamWrapper::getStreamPath in UIkit Components 8.3
Gets the stream path to the source using WRAPPER_NAME.
Return value
string
File
- src/
MimeStreamWrapper.php, line 106
Class
- MimeStreamWrapper
- Provides a stream wrapper to retrieve mime type information from any source.
Namespace
Drupal\uikit_componentsCode
public function getStreamPath() {
return str_replace([
'ftp://',
'http://',
'https://',
], self::WRAPPER_NAME . '://', $this->path);
}