Search for dirname

  1. Search 7.x for dirname
  2. Search 9.5.x for dirname
  3. Search 10.3.x for dirname
  4. Search 11.x for dirname
  5. Other projects
Title Object type File name Summary
drupal_dirname function core/includes/file.inc Gets the name of the directory from a given path.
FileSystem::dirname function core/lib/Drupal/Core/File/FileSystem.php Gets the name of the directory from a given path.
FileSystemDeprecationTest::testDeprecatedDrupalDirname function core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php @expectedDeprecation drupal_dirname() is deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::dirname(). See https://www.drupal.org/node/2418133.
FileSystemInterface::dirname function core/lib/Drupal/Core/File/FileSystemInterface.php Gets the name of the directory from a given path.
LocalStream::dirname function core/lib/Drupal/Core/StreamWrapper/LocalStream.php Gets the name of the directory from a given path.
StreamWrapperInterface::dirname function core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php Gets the name of the directory from a given path.

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