function Yaml::decode
Same name in this branch
- 10 core/lib/Drupal/Component/Serialization/Yaml.php \Drupal\Component\Serialization\Yaml::decode()
Same name in other branches
- 9 core/lib/Drupal/Component/Serialization/Yaml.php \Drupal\Component\Serialization\Yaml::decode()
- 8.9.x core/lib/Drupal/Component/Serialization/Yaml.php \Drupal\Component\Serialization\Yaml::decode()
- 11.x core/lib/Drupal/Component/Serialization/Yaml.php \Drupal\Component\Serialization\Yaml::decode()
41 calls to Yaml::decode()
- AutowireTest::testCoreControllerAutowiring in core/
tests/ Drupal/ KernelTests/ Core/ DependencyInjection/ AutowireTest.php - Tests that core controllers are autowired where possible.
- ckeditor5-3222756.php in core/
modules/ ckeditor5/ tests/ fixtures/ update/ ckeditor5-3222756.php - Test fixture.
- ckeditor5-3259593.php in core/
modules/ ckeditor5/ tests/ fixtures/ update/ ckeditor5-3259593.php - Test fixture.
- ckeditor5-3396628.php in core/
modules/ ckeditor5/ tests/ fixtures/ update/ ckeditor5-3396628.php - Test fixture.
- ConfigExportUITest::testExport in core/
modules/ config/ tests/ src/ Functional/ ConfigExportUITest.php - Tests export of configuration.
File
-
core/
lib/ Drupal/ Core/ Serialization/ Yaml.php, line 15
Class
- Yaml
- Provides a YAML serialization implementation.
Namespace
Drupal\Core\SerializationCode
public static function decode($raw) {
if ($class = Settings::get('yaml_parser_class')) {
return $class::decode($raw);
}
return parent::decode($raw);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.