Returns the path to the configuration file.
Return value
string
The path to the configuration file.
File
- drupal/core/lib/Drupal/Core/Config/FileStorage.php, line 55
- Definition of Drupal\Core\Config\FileStorage.
Class
- FileStorage
- Defines the file storage controller.
Namespace
Drupal\Core\Config
Code
public function getFilePath($name) {
return $this->directory . '/' . $name . '.' . static::getFileExtension();
}