public static function SerializationInterface::getFileExtension in Plug 7
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();