function DrupalPrivateStreamWrapper::getDirectoryPath

Implements abstract public function getDirectoryPath()

Overrides DrupalLocalStreamWrapper::getDirectoryPath

File

includes/stream_wrappers.inc, line 971

Class

DrupalPrivateStreamWrapper
Drupal private (private://) stream wrapper class.

Code

public function getDirectoryPath() {
    return variable_get('file_private_path', '');
}

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