function VideoRemoteStreamWrapper::realpath in Video 8.2
Same name and namespace in other branches
- 8 src/StreamWrapper/VideoRemoteStreamWrapper.php \Drupal\video\StreamWrapper\VideoRemoteStreamWrapper::realpath()
Returns canonical, absolute path of the resource.
Implementation placeholder. PHP's realpath() does not support stream wrappers. We provide this as a default so that individual wrappers may implement their own solutions.
Return value
string Returns a string with absolute pathname on success (implemented by core wrappers), or FALSE on failure or if the registered wrapper does not provide an implementation.
Overrides StreamWrapperInterface::realpath
File
- src/
StreamWrapper/ VideoRemoteStreamWrapper.php, line 136
Class
- VideoRemoteStreamWrapper
- Defines a video read only stream wrapper class.
Namespace
Drupal\video\StreamWrapperCode
function realpath() {
return $this
->getLocalPath();
}