21 calls to Yaml::encode()
- ConfigConfiguratorTest::testExistingConfigWithKeysInDifferentOrder in core/
tests/ Drupal/ KernelTests/ Core/ Recipe/ ConfigConfiguratorTest.php - 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.
- DependencyTest::testNoVersionInfo in core/
modules/ system/ tests/ src/ Functional/ Module/ DependencyTest.php - Tests visiting admin/modules when a module outside of core has no version.
- DistributionProfileExistingSettingsTest::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ DistributionProfileExistingSettingsTest.php - ExtensionListTest::setupTestExtensionList in core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionListTest.php - Sets up an a test extension list.
- FixtureManipulator::addPackage in core/
modules/ package_manager/ tests/ modules/ fixture_manipulator/ src/ FixtureManipulator.php - Adds a package.
- FixtureManipulator::addProjectAtPath in core/
modules/ package_manager/ tests/ modules/ fixture_manipulator/ src/ FixtureManipulator.php - Adds a project at a path.
- FrontMatterTest::createFrontMatterSource in core/
tests/ Drupal/ Tests/ Component/ FrontMatter/ FrontMatterTest.php - Creates a front matter source string.
- GenerateTheme::execute in core/
lib/ Drupal/ Core/ Command/ GenerateTheme.php - 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 - MultipleDistributionsProfileTest::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ MultipleDistributionsProfileTest.php - RecipeTestTrait::alterRecipe in core/
tests/ Drupal/ FunctionalTests/ Core/ Recipe/ RecipeTestTrait.php - Alters an existing recipe.
- RecipeTestTrait::createRecipe in core/
tests/ Drupal/ FunctionalTests/ Core/ Recipe/ RecipeTestTrait.php - Creates a recipe in a temporary directory.
- UpdateScriptTest::testMissingExtension in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdateScriptTest.php - Tests that a missing extension prevents updates.
- YamlTest::testEncode in core/
tests/ Drupal/ Tests/ Component/ Serialization/ YamlTest.php - Tests our encode settings.
- YamlTest::testEncodeDecode in core/
tests/ Drupal/ Tests/ Component/ Serialization/ YamlTest.php - Tests encoding and decoding basic data structures.
- YamlTest::testEncodeObjectSupportDisabled in core/
tests/ Drupal/ Tests/ Component/ Serialization/ YamlTest.php - Ensures that php object support is disabled.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.