function FileStorage::getFilePath
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::getFilePath()
- 10 core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::getFilePath()
- 8.9.x core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::getFilePath()
Returns the path to the configuration file.
Return value
string The path to the configuration file.
File
-
core/
lib/ Drupal/ Core/ Config/ FileStorage.php, line 61
Class
- FileStorage
- Defines the file storage.
Namespace
Drupal\Core\ConfigCode
public function getFilePath($name) {
return $this->getCollectionDirectory() . '/' . $name . '.' . static::getFileExtension();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.