public static function Yaml::getFileExtension
public static Yaml::getFileExtension()
Gets the file extension for this serialization format.
Return value
string The file extension, without leading dot.
Overrides SerializationInterface::getFileExtension
File
- core/lib/Drupal/Component/Serialization/Yaml.php, line 46
Class
- Yaml
- Default serialization for YAML using the Symfony component.
Namespace
Drupal\Component\SerializationCode
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!Component!Serialization!Yaml.php/function/Yaml::getFileExtension/8.1.x