function Yaml::decode
Same name in other branches
- 8.9.x core/lib/Drupal/Component/Serialization/Yaml.php \Drupal\Component\Serialization\Yaml::decode()
- 10 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 SerializationInterface::decode
8 calls to Yaml::decode()
- ExtensionListTest::setupTestExtensionList in core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionListTest.php - Sets up an a test extension list.
- GenerateTheme::execute in core/
lib/ Drupal/ Core/ Command/ GenerateTheme.php - InstallerExistingConfigSyncDirectoryMultilingualTest::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigSyncDirectoryMultilingualTest.php - Prepares the current environment for running the test.
- InstallerExistingConfigTestBase::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigTestBase.php - Prepares the current environment for running the test.
- ModuleInfoTest::testModuleInfo in core/
tests/ Drupal/ Tests/ Core/ Extension/ ModuleInfoTest.php - Tests that core module info files have the expected keys.
File
-
core/
lib/ Drupal/ Component/ Serialization/ Yaml.php, line 33
Class
- Yaml
- Provides a YAML serialization implementation.
Namespace
Drupal\Component\SerializationCode
public static function decode($raw) {
$serializer = static::getSerializer();
return $serializer::decode($raw);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.