public static YamlSymfony::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/YamlSymfony.php, line 46
Class
YamlSymfony Default serialization for YAML using the Symfony component.
Namespace
Drupal\Component\Serialization
Code
public static function getFileExtension() {
return 'yml';
}