public static function SerializationInterface::getFileExtension in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Component/Serialization/SerializationInterface.php \Drupal\Component\Serialization\SerializationInterface::getFileExtension()
Gets the file extension for this serialization format.
Return value
string The file extension, without leading dot.
3 methods override SerializationInterface::getFileExtension()
- Json::getFileExtension in lib/
Drupal/ Component/ Serialization/ Json.php - Gets the file extension for this serialization format.
- PhpSerialize::getFileExtension in lib/
Drupal/ Component/ Serialization/ PhpSerialize.php - Gets the file extension for this serialization format.
- Yaml::getFileExtension in lib/
Drupal/ Component/ Serialization/ Yaml.php - Gets the file extension for this serialization format.
File
- lib/
Drupal/ Component/ Serialization/ SerializationInterface.php, line 43 - Contains \Drupal\Component\Serialization\SerializationInterface.
Class
- SerializationInterface
- Defines an interface for serialization formats.
Namespace
Drupal\Component\SerializationCode
public static function getFileExtension();