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 41

Class

Yaml
Provides a YAML serialization implementation.

Namespace

Drupal\Component\Serialization

Code

public static function getFileExtension() {
  return 'yml';
}
doc_Drupal
2016-10-29 09:56:54
Comments
Leave a Comment

Please login to continue.