21 calls to Yaml::decode()

ConfigValidationTest::createRecipeWithInvalidDataInFile in core/tests/Drupal/KernelTests/Core/Recipe/ConfigValidationTest.php
Creates a recipe with invalid config data in a particular file.
ContentImportTest::testEntityValidationIsTriggered in core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php
Tests that the importer validates entities before saving them.
entity-id-argument.php in core/modules/views/tests/fixtures/update/entity-id-argument.php
Test fixture.
ExtensionListTest::setupTestExtensionList in core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
Sets up an a test extension list.
Finder::__construct in core/lib/Drupal/Core/DefaultContent/Finder.php
GenerateTheme::execute in core/lib/Drupal/Core/Command/GenerateTheme.php
GenerateTheme::loadStarterKitConfig in core/lib/Drupal/Core/Command/GenerateTheme.php
InstalledPackage::scanForProjectName in core/modules/package_manager/src/InstalledPackage.php
Scans a given path to determine the Drupal project name.
InstalledPackagesListTest::testPackageByDrupalProjectName in core/modules/package_manager/tests/src/Kernel/InstalledPackagesListTest.php
@covers \Drupal\package_manager\InstalledPackage::getProjectName @covers ::getPackageByDrupalProjectName
InstallerConfigDirectoryTestBase::prepareEnvironment in core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectoryTestBase.php
InstallerExistingConfigSyncDirectoryMultilingualTest::prepareEnvironment in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigSyncDirectoryMultilingualTest.php
InstallerExistingConfigTestBase::prepareEnvironment in core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php
ModuleInfoTest::testModuleInfo in core/tests/Drupal/Tests/Core/Extension/ModuleInfoTest.php
Tests that core module info files have the expected keys.
Recipe::parse in core/lib/Drupal/Core/Recipe/Recipe.php
Parses and validates a recipe.yml file.
RecipeTestTrait::alterRecipe in core/tests/Drupal/FunctionalTests/Core/Recipe/RecipeTestTrait.php
Alters an existing recipe.
YamlDirectoryDiscovery::findAll in core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php
YamlDiscovery::decode in core/lib/Drupal/Component/Discovery/YamlDiscovery.php
Decode a YAML file.
YamlTest::testDecode in core/tests/Drupal/Tests/Component/Serialization/YamlTest.php
Tests decoding YAML node anchors.
YamlTest::testDecodeObjectSupportDisabled in core/tests/Drupal/Tests/Component/Serialization/YamlTest.php
Ensures that decoding PHP objects does not work in Symfony.
YamlTest::testEncodeDecode in core/tests/Drupal/Tests/Component/Serialization/YamlTest.php
Tests encoding and decoding basic data structures.
YamlTest::testError in core/tests/Drupal/Tests/Component/Serialization/YamlTest.php
Tests that invalid YAML throws an exception.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.