1 file_example_session_streams.inc public FileExampleSessionStreamWrapper::realpath()

Implements realpath().

Overrides BackdropStreamWrapperInterface::realpath

File

modules/examples/file_example/file_example_session_streams.inc, line 185
Provides a demonstration session:// stream-wrapper.

Class

FileExampleSessionStreamWrapper
Example stream wrapper class to handle session:// streams.

Code

public function realpath() {
  return 'session://' . $this->getLocalPath();
}