YamlPecl::getFileExtension

public static YamlPecl::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/YamlPecl.php, line 69

Class

YamlPecl
Provides default serialization for YAML using the PECL extension.

Namespace

Drupal\Component\Serialization

Code

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

Please login to continue.