function Yaml::decode
Same name in this branch
- 10 core/lib/Drupal/Component/Serialization/Yaml.php \Drupal\Component\Serialization\Yaml::decode()
Same name and namespace 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()
Overrides Yaml::decode
27 calls to Yaml::decode()
- AutowireTest::testCoreControllerAutowiring in core/
tests/ Drupal/ KernelTests/ Core/ DependencyInjection/ AutowireTest.php - Tests that core controllers are autowired where possible.
- ConfigExportUITest::testExport in core/
modules/ config/ tests/ src/ Functional/ ConfigExportUITest.php - Tests export of configuration.
- ConfigImportUITest::testImport in core/
modules/ config/ tests/ src/ Functional/ ConfigImportUITest.php - Tests importing configuration.
- ConfigInstallProfileUnmetDependenciesTest::copyTestingOverrides in core/
modules/ config/ tests/ src/ Functional/ ConfigInstallProfileUnmetDependenciesTest.php - Copy the testing_config_overrides install profile.
- ConfigSingleImportExportTest::testExport in core/
modules/ config/ tests/ src/ Functional/ ConfigSingleImportExportTest.php - Tests exporting a single configuration file.
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) {
$class = Settings::get('yaml_parser_class');
if ($class && $class !== TRUE) {
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.