public static function YamlParserProxy::getFileExtension in Drupal 10
Same name in this branch
- 10 core/tests/Drupal/Tests/Core/Serialization/YamlTest.php \Drupal\Tests\Core\Serialization\YamlParserProxy::getFileExtension()
- 10 core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlParserProxy::getFileExtension()
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\Serialization\YamlParserProxy::getFileExtension()
- 9 core/tests/Drupal/Tests/Component/Serialization/YamlTest.php \Drupal\Tests\Component\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/ Component/ Serialization/ YamlTest.php, line 167
Class
Namespace
Drupal\Tests\Component\SerializationCode
public static function getFileExtension() {
return static::$mock
->getFileExtension();
}