You are here

public static function YamlParserProxy::getFileExtension in Drupal 9

Same name in this branch
  1. 9 core/tests/Drupal/Tests/Core/Serialization/YamlTest.php \Drupal\Tests\Core\Serialization\YamlParserProxy::getFileExtension()
  2. 9 core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlParserProxy::getFileExtension()
Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Serialization/YamlTest.php \Drupal\Tests\Core\Serialization\YamlParserProxy::getFileExtension()

Gets the file extension for this serialization format.

Return value

string The file extension, without leading dot.

Overrides SerializationInterface::getFileExtension

File

core/tests/Drupal/Tests/Core/Serialization/YamlTest.php, line 60

Class

YamlParserProxy

Namespace

Drupal\Tests\Core\Serialization

Code

public static function getFileExtension() {
  return static::$mock
    ->getFileExtension();
}