W3cubDocs

/Drupal 8

public static function SerializationInterface::getFileExtension

public static SerializationInterface::getFileExtension()

Gets the file extension for this serialization format.

Return value

string The file extension, without leading dot.

File

core/lib/Drupal/Component/Serialization/SerializationInterface.php, line 38

Class

SerializationInterface
Defines an interface for serialization formats.

Namespace

Drupal\Component\Serialization

Code

public static function getFileExtension();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Serialization!SerializationInterface.php/function/SerializationInterface::getFileExtension/8.1.x