drupal_dirname

function drupal_dirname

drupal_dirname($uri)

Gets the name of the directory from a given path.

Deprecated

in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystem::dirname().

Related topics

File interface
Common file handling functions.

File

c