protected FileStorage::getCollectionDirectory()
Gets the directory for the collection.
string The directory for the collection.
protected function getCollectionDirectory() { if ($this->collection == StorageInterface::DEFAULT_COLLECTION) { $dir = $this->directory; } else { $dir = $this->directory . '/' . str_replace('.', '/', $this->collection); } return $dir; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!FileStorage.php/function/FileStorage::getCollectionDirectory/8.1.x