public function FileStorage::getFilePath in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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.
5 calls to FileStorage::getFilePath()
- FileStorage::delete in core/
lib/ Drupal/ Core/ Config/ FileStorage.php - Deletes a configuration object from the storage.
- FileStorage::exists in core/
lib/ Drupal/ Core/ Config/ FileStorage.php - Returns whether a configuration object exists.
- FileStorage::read in core/
lib/ Drupal/ Core/ Config/ FileStorage.php - Implements Drupal\Core\Config\StorageInterface::read().
- FileStorage::rename in core/
lib/ Drupal/ Core/ Config/ FileStorage.php - Renames a configuration object in the storage.
- FileStorage::write in core/
lib/ Drupal/ Core/ Config/ FileStorage.php - Writes configuration data to the storage.
1 method overrides FileStorage::getFilePath()
- InstallStorage::getFilePath in core/
lib/ Drupal/ Core/ Config/ InstallStorage.php - Overrides Drupal\Core\Config\FileStorage::getFilePath().
File
- core/
lib/ Drupal/ Core/ Config/ FileStorage.php, line 52 - Contains \Drupal\Core\Config\FileStorage.
Class
- FileStorage
- Defines the file storage.
Namespace
Drupal\Core\ConfigCode
public function getFilePath($name) {
return $this
->getCollectionDirectory() . '/' . $name . '.' . static::getFileExtension();
}