Search for realPath

  1. Search 7.x for realPath
  2. Search 9.5.x for realPath
  3. Search 10.3.x for realPath
  4. Search 11.x for realPath
  5. Other projects
Title Object type File name Summary
drupal_realpath function core/includes/file.inc Resolves the absolute filepath of a local URI or filepath.
DummyRemoteStreamWrapper::realpath function core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php Returns canonical, absolute path of the resource.
FileSystem::realpath function core/lib/Drupal/Core/File/FileSystem.php Resolves the absolute filepath of a local URI or filepath.
FileSystemDeprecationTest::testRealpath function core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php @expectedDeprecation drupal_realpath() is deprecated in drupal:8.0.0 and will be removed in drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::realpath(). See https://www.drupal.org/node/2418133.
FileSystemInterface::realpath function core/lib/Drupal/Core/File/FileSystemInterface.php Resolves the absolute filepath of a local URI or filepath.
LocalStream::realpath function core/lib/Drupal/Core/StreamWrapper/LocalStream.php Returns canonical, absolute path of the resource.
StreamWrapperInterface::realpath function core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php Returns canonical, absolute path of the resource.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.