File path

Public

Get local path

Get raw version
php
  1. $sw = new DrupalPrivateStreamWrapper();
  2. $sw->setUri('private://dumper');
  3. print $sw->getDirectoryPath(); // sites/default/private/files