You are here

public static function FileStorage::getFileExtension in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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.

... See full list

File

core/lib/Drupal/Core/Config/FileStorage.php, line 62
Contains \Drupal\Core\Config\FileStorage.

Class

FileStorage
Defines the file storage.

Namespace

Drupal\Core\Config

Code

public static function getFileExtension() {
  return 'yml';
}