function FileStorage::getFileExtension
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::getFileExtension()
- 10 core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::getFileExtension()
- 11.x core/lib/Drupal/Core/Config/FileStorage.php \Drupal\Core\Config\FileStorage::getFileExtension()
Returns the file extension used by the file storage for all configuration files.
Return value
string The file extension.
6 calls to FileStorage::getFileExtension()
- FileStorage::getAllCollectionNamesHelper in core/
lib/ Drupal/ Core/ Config/ FileStorage.php - Helper function for getAllCollectionNames().
- FileStorage::getFilePath in core/
lib/ Drupal/ Core/ Config/ FileStorage.php - Returns the path to the configuration file.
- FileStorage::listAll in core/
lib/ Drupal/ Core/ Config/ FileStorage.php - Gets configuration object names starting with a given prefix.
- InstallStorage::getComponentNames in core/
lib/ Drupal/ Core/ Config/ InstallStorage.php - Get all configuration names and folders for a list of modules or themes.
- InstallStorage::getCoreNames in core/
lib/ Drupal/ Core/ Config/ InstallStorage.php - Get all configuration names and folders for Drupal core.
File
-
core/
lib/ Drupal/ Core/ Config/ FileStorage.php, line 71
Class
- FileStorage
- Defines the file storage.
Namespace
Drupal\Core\ConfigCode
public static function getFileExtension() {
return 'yml';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.