public static function FileStorage::getFileExtension

public static FileStorage::getFileExtension()

Returns the file extension used by the file storage for all configuration files.

Return value

string The file extension.

File

core/lib/Drupal/Core/Config/FileStorage.php, line 57

Class

FileStorage
Defines the file storage.

Namespace

Drupal\Core\Config

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Config!FileStorage.php/function/FileStorage::getFileExtension/8.1.x