function Yaml::decode
Same name in other branches
- 9 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()
- 10 core/lib/Drupal/Core/Serialization/Yaml.php \Drupal\Core\Serialization\Yaml::decode()
Overrides SerializationInterface::decode
6 calls to Yaml::decode()
- drupal-8.file_formatters_update_2677990.php in core/
modules/ file/ tests/ fixtures/ update/ drupal-8.file_formatters_update_2677990.php - Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2677990.
- drupal-8.update-test-block-disabled-2513534.php in core/
modules/ system/ tests/ fixtures/ update/ drupal-8.update-test-block-disabled-2513534.php - Contains database additions to drupal-8.bare.standard.php.gz for testing the upgrade path of https://www.drupal.org/node/2513534.
- ExtensionListTest::setupTestExtensionList in core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionListTest.php - Sets up an a test extension list.
- InstallerExistingConfigTestBase::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerExistingConfigTestBase.php - Prepares the current environment for running the test.
- YamlDirectoryDiscovery::findAll in core/
lib/ Drupal/ Component/ Discovery/ YamlDirectoryDiscovery.php - Returns an array of discoverable items.
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.