91 calls to KernelTestBase::config()

BlockConfigSchemaTest::testBlockConfigSchema in core/modules/book/tests/src/Kernel/Block/BlockConfigSchemaTest.php
Tests the block config schema for block plugins.
BlockConfigSchemaTest::testBlockConfigSchema in core/modules/block/tests/src/Kernel/BlockConfigSchemaTest.php
Tests the block config schema for block plugins.
BookMultilingualTest::setUp in core/modules/book/tests/src/Kernel/BookMultilingualTest.php
BookPendingRevisionTest::testBookWithPendingRevisions in core/modules/book/tests/src/Kernel/BookPendingRevisionTest.php
Tests pending revision handling for books.
BookSettingsFormTest::testConfigValuesSavedCorrectly in core/modules/book/tests/src/Kernel/BookSettingsFormTest.php
Tests that submitted values are processed and saved correctly.
BookUninstallTest::testBookUninstall in core/modules/book/tests/src/Kernel/BookUninstallTest.php
Tests the book_system_info_alter() method.
CommandsTest::testAttachedSettings in core/tests/Drupal/KernelTests/Core/Ajax/CommandsTest.php
Regression test: Settings command exists regardless of JS aggregation.
ConfigCRUDTest::testCRUD in core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php
Tests CRUD operations.
ConfigCRUDTest::testDataTypes in core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php
Tests data type handling.
ConfigCRUDTest::testNameValidation in core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php
Tests the validation of configuration object names.
ConfigDependencyTest::testDependencyManagement in core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php
Tests creating dependencies on configuration entities.
ConfigEntityImportTest::assertConfigUpdateImport in core/modules/system/tests/src/Kernel/Entity/ConfigEntityImportTest.php
Asserts that config entities are updated during import.
ConfigEntityNormalizeTest::testNormalize in core/tests/Drupal/KernelTests/Core/Config/ConfigEntityNormalizeTest.php
ConfigEventsTest::testConfigRenameEvent in core/tests/Drupal/KernelTests/Core/Config/ConfigEventsTest.php
Tests configuration rename event that is fired from the ConfigFactory.
ConfigFileContentTest::testReadWriteConfig in core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php
Tests setting, writing, and reading of a configuration setting.
ConfigImporterTest::testDeleted in core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php
Tests deletion of configuration during import.
ConfigImporterTest::testIsSyncingInHooks in core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php
Tests the isSyncing flags.
ConfigImporterTest::testNew in core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php
Tests creation of configuration during import.
ConfigImporterTest::testNoImport in core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php
Tests omission of module APIs for bare configuration operations.
ConfigImporterTest::testUpdated in core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php
Tests updating of configuration during import.
ConfigImportRenameValidationTest::testRenameSimpleConfigValidation in core/tests/Drupal/KernelTests/Core/Config/ConfigImportRenameValidationTest.php
Tests configuration renaming validation for simple configuration.
ConfigInstallTest::testModuleInstallation in core/tests/Drupal/KernelTests/Core/Config/ConfigInstallTest.php
Tests module installation.
ConfigOtherModuleTest::testInstallOtherModuleFirst in core/modules/config/tests/src/Kernel/ConfigOtherModuleTest.php
Tests enabling the provider of the default configuration first.
ConfigSchemaDeprecationTest::testConfigSchemaDeprecation in core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaDeprecationTest.php
Tests config schema deprecation.
ContentTranslationConfigImportTest::testConfigImportUpdates in core/modules/content_translation/tests/src/Kernel/ContentTranslationConfigImportTest.php
Tests config import updates.
EntityDisplayTest::testBaseFieldComponent in core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
Tests the behavior of a field component for a base field.
EntityFormDisplayTest::testBaseFieldComponent in core/modules/field_ui/tests/src/Kernel/EntityFormDisplayTest.php
Tests the behavior of a field component for a base field.
EntityUrlLanguageTest::setUp in core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php
EntityUrlLanguageTest::testEntityUrlLanguageWithLanguageContentEnabled in core/modules/language/tests/src/Kernel/EntityUrlLanguageTest.php
Ensures correct entity URLs with the method language-content-entity enabled.
KernelTestBase::disableModules in core/tests/Drupal/KernelTests/KernelTestBase.php
Disables modules for this test.
LanguageNegotiatorPluginTest::testLanguageNegotiatorNoPlugin in core/modules/language/tests/src/Kernel/LanguageNegotiatorPluginTest.php
Tests for PluginNotFoundException.
LanguageTest::test in core/modules/ckeditor5/tests/src/Kernel/LanguageTest.php
Ensure that languages are resolved correctly.
MappingTest::testMappingInterpretation in core/tests/Drupal/KernelTests/Config/Schema/MappingTest.php
@dataProvider providerMappingInterpretation
MigrateActionConfigsTest::testActionSettings in core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php
Tests migration of action variables to null.
MigrateActionConfigsTest::testActionSettings in core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php
Tests migration of action variables to null.
MigrateBlockNoBlockContentTest::assertEntity in core/modules/block/tests/src/Kernel/Migrate/d7/MigrateBlockNoBlockContentTest.php
Asserts various aspects of a block.
MigrateBlockNoBlockContentTest::setUp in core/modules/block/tests/src/Kernel/Migrate/d7/MigrateBlockNoBlockContentTest.php
MigrateBlockTest::assertEntity in core/modules/block/tests/src/Kernel/Migrate/d7/MigrateBlockTest.php
Asserts various aspects of a block.
MigrateBlockTest::setUp in core/modules/block/tests/src/Kernel/Migrate/d7/MigrateBlockTest.php
MigrateBlockTest::setUp in core/modules/block/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php
MigrateBlockTest::setUp in core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateBlockTest.php
MigrateBookConfigsTest::testBookSettings in core/modules/book/tests/src/Kernel/Migrate/d7/MigrateBookConfigsTest.php
Tests migration of book variables to book.settings.yml.
MigrateBookConfigsTest::testBookSettings in core/modules/book/tests/src/Kernel/Migrate/d6/MigrateBookConfigsTest.php
Tests migration of book variables to book.settings.yml.
MigrateConfigRollbackTest::testConfigRollback in core/modules/migrate/tests/src/Kernel/MigrateConfigRollbackTest.php
Tests rolling back configuration.
MigrateContactSettingsTest::testContactSettings in core/modules/contact/tests/src/Kernel/Migrate/d6/MigrateContactSettingsTest.php
Tests migration of contact variables to contact.settings.yml.
MigrateContactSettingsTest::testContactSettings in core/modules/contact/tests/src/Kernel/Migrate/d7/MigrateContactSettingsTest.php
Tests migration of Contact's variables to configuration.
MigrateDblogConfigsTest::testDblogSettings in core/modules/dblog/tests/src/Kernel/Migrate/d7/MigrateDblogConfigsTest.php
Tests migration of dblog variables to dblog.settings.yml.
MigrateDblogConfigsTest::testDblogSettings in core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php
Tests migration of dblog variables to dblog.settings.yml.
MigrateEntityTranslationSettingsTest::testEntityTranslationSettingsMigration in core/modules/content_translation/tests/src/Kernel/Migrate/d7/MigrateEntityTranslationSettingsTest.php
Tests entity translation settings migration.
MigrateFileConfigsTest::testFileSettings in core/modules/file/tests/src/Kernel/Migrate/d7/MigrateFileConfigsTest.php
Tests migration of file variables to file.settings.yml.
MigrateFileConfigsTest::testFileSettings in core/modules/file/tests/src/Kernel/Migrate/d6/MigrateFileConfigsTest.php
Tests migration of file variables to file.settings.yml.
MigrateForumConfigsTest::testForumSettings in core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateForumConfigsTest.php
Tests migration of forum variables to forum.settings.yml.
MigrateForumSettingsTest::testForumSettingsMigration in core/modules/forum/tests/src/Kernel/Migrate/d7/MigrateForumSettingsTest.php
Tests the migration of Forum's settings to configuration.
MigrateGlobalThemeSettingsTest::testMigrateThemeSettings in core/modules/system/tests/src/Kernel/Migrate/d7/MigrateGlobalThemeSettingsTest.php
Tests migration of global theme settings to configuration.
MigrateImageSettingsTest::testMigration in core/modules/image/tests/src/Kernel/Migrate/d7/MigrateImageSettingsTest.php
Tests the migration.
MigrateLanguageContentSettingsTest::testLanguageContent in core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentSettingsTest.php
Tests migration of content language settings.
MigrateLanguageContentSettingsTest::testLanguageContent in core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageContentSettingsTest.php
Tests migration of content language settings.
MigrateLanguageNegotiationSettingsTest::testLanguageNegotiationWithDefaultPathPrefix in core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageNegotiationSettingsTest.php
Tests the migration with LANGUAGE_NEGOTIATION_PATH_DEFAULT.
MigrateLanguageNegotiationSettingsTest::testLanguageNegotiationWithDomain in core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageNegotiationSettingsTest.php
Tests the migration with LANGUAGE_NEGOTIATION_DOMAIN.
MigrateLanguageNegotiationSettingsTest::testLanguageNegotiationWithDomain in core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageNegotiationSettingsTest.php
Tests the migration with domain negotiation.
MigrateLanguageNegotiationSettingsTest::testLanguageNegotiationWithNoNegotiation in core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageNegotiationSettingsTest.php
Tests the migration with LANGUAGE_NEGOTIATION_NONE.
MigrateLanguageNegotiationSettingsTest::testLanguageNegotiationWithNonExistentVariables in core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageNegotiationSettingsTest.php
Tests the migration with non-existent variables.
MigrateLanguageNegotiationSettingsTest::testLanguageNegotiationWithPathPrefix in core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageNegotiationSettingsTest.php
Tests the migration with LANGUAGE_NEGOTIATION_PATH.
MigrateLanguageNegotiationSettingsTest::testLanguageNegotiationWithPrefix in core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageNegotiationSettingsTest.php
Tests the migration with prefix negotiation.
MigrateLanguageNegotiationSettingsTest::testLanguageTypes in core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageNegotiationSettingsTest.php
Tests migration of language types variables to language.types.yml.
MigrateLocaleConfigsTest::testLocaleSettings in core/modules/locale/tests/src/Kernel/Migrate/MigrateLocaleConfigsTest.php
Tests migration of locale variables to locale.settings.yml.
MigrateNodeConfigsTest::testNodeSettings in core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeConfigsTest.php
Tests Drupal 6 node settings to Drupal 8 migration.
MigrateNodeSettingsTest::testAggregatorSettings in core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeSettingsTest.php
Tests migration of node variables to node.settings config object.
MigrateSearchSettingsTest::testSearchSettings in core/modules/search/tests/src/Kernel/Migrate/d7/MigrateSearchSettingsTest.php
Tests the migration of Search's variables to configuration.
MigrateSearchSettingsTest::testSearchSettings in core/modules/search/tests/src/Kernel/Migrate/d6/MigrateSearchSettingsTest.php
Tests migration of search variables to search.settings.yml.
MigrateStatisticsConfigsTest::testStatisticsSettings in core/modules/statistics/tests/src/Kernel/Migrate/d7/MigrateStatisticsConfigsTest.php
Tests migration of statistics variables to statistics.settings.yml.
MigrateStatisticsConfigsTest::testStatisticsSettings in core/modules/statistics/tests/src/Kernel/Migrate/d6/MigrateStatisticsConfigsTest.php
Tests migration of statistics variables to statistics.settings.yml.
MigrateSyslogConfigsTest::testSyslogSettings in core/modules/syslog/tests/src/Kernel/Migrate/d6/MigrateSyslogConfigsTest.php
Tests migration of syslog variables to syslog.settings.yml.
MigrateSyslogConfigsTest::testSyslogSettings in core/modules/syslog/tests/src/Kernel/Migrate/d7/MigrateSyslogConfigsTest.php
Tests migration of syslog variables to syslog.settings.yml.
MigrateTaxonomyConfigsTest::testTaxonomySettings in core/modules/taxonomy/tests/src/Kernel/Migrate/MigrateTaxonomyConfigsTest.php
Tests migration of taxonomy variables to taxonomy.settings.yml.
MigrateTextConfigsTest::testTextSettings in core/modules/text/tests/src/Kernel/Migrate/MigrateTextConfigsTest.php
Tests migration of text variables to text.settings.yml.
MigrateThemeSettingsTest::testMigrateThemeSettings in core/modules/system/tests/src/Kernel/Migrate/d7/MigrateThemeSettingsTest.php
Tests migration of theme settings to variables to configuration.
MigrateUpdateConfigsTest::testUpdateSettings in core/modules/update/tests/src/Kernel/Migrate/d6/MigrateUpdateConfigsTest.php
Tests migration of update variables to update.settings.yml.
MigrateUserConfigsTest::testUserMail in core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserConfigsTest.php
Tests migration of user variables to user.mail.yml.
MigrateUserMailTest::testMigration in core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserMailTest.php
Tests the migration.
MigrateUserSettingsTest::testMigration in core/modules/user/tests/src/Kernel/Migrate/d7/MigrateUserSettingsTest.php
Tests the migration.
OverriddenConfigImportTest::testConfigImportUpdates in core/modules/language/tests/src/Kernel/OverriddenConfigImportTest.php
Tests importing overridden config alongside config in the default language.
SimpleConfigValidationTest::testDefaultConfigHashValidation in core/tests/Drupal/KernelTests/Core/Config/SimpleConfigValidationTest.php
SimpleConfigValidationTest::testInvalidPluginId in core/tests/Drupal/KernelTests/Core/Config/SimpleConfigValidationTest.php
Tests that plugin IDs in simple config are validated.
StreamWrapperTest::testUriFunctions in core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php
Tests the getViaUri() and getViaScheme() methods and target functions.
ThemeInstallerTest::extensionConfig in core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php
Returns the system.theme config object.
ThemeSettingsTest::testLogoConfig in core/tests/Drupal/KernelTests/Core/Theme/ThemeSettingsTest.php
Tests that the default logo config can be overridden.
TokenReplaceKernelTest::testSystemSiteTokenReplacement in core/modules/system/tests/src/Kernel/Token/TokenReplaceKernelTest.php
Tests the generation of all system site information tokens.
UserActionConfigSchemaTest::testValidUserActionConfigSchema in core/modules/user/tests/src/Kernel/UserActionConfigSchemaTest.php
Tests whether the user action config schema are valid.
UserMailNotifyTest::testUserRecoveryMailLanguage in core/modules/user/tests/src/Kernel/UserMailNotifyTest.php
Tests recovery email content and token langcode is aligned.
ViewEntityDependenciesTest::testGetDependencies in core/modules/views/tests/src/Kernel/Entity/ViewEntityDependenciesTest.php
Tests the getDependencies method.

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