118 calls to Drupal::configFactory() in Drupal 10
- AjaxTest::testAjaxWithAdminRoute in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ AjaxTest.php - automated_cron_settings_submit in core/
modules/ automated_cron/ automated_cron.module - Form submission handler for system_cron_settings().
- BlockCreationTrait::placeBlock in core/
modules/ block/ tests/ src/ Traits/ BlockCreationTrait.php - Creates a block instance based on default settings.
- BlockInvalidRegionTest::testBlockInInvalidRegion in core/
modules/ block/ tests/ src/ Functional/ BlockInvalidRegionTest.php - Tests that blocks assigned to invalid regions work correctly.
- BlockRebuildTest::testRebuildInvalidBlocks in core/
modules/ block/ tests/ src/ Kernel/ BlockRebuildTest.php - @covers ::block_rebuild
- BlockUiTest::testBlockAdminUiPage in core/
modules/ block/ tests/ src/ Functional/ BlockUiTest.php - Tests block admin page exists and functions correctly.
- book_node_type_update in core/
modules/ book/ book.module - Implements hook_ENTITY_TYPE_update() for node_type entities.
- CommentHostnameTest::testGetDefaultHostname in core/
modules/ comment/ tests/ src/ Kernel/ CommentHostnameTest.php - Tests hostname default value callback.
- CommentTokenReplaceTest::testCommentTokenReplacement in core/
modules/ comment/ tests/ src/ Functional/ CommentTokenReplaceTest.php - Creates a comment, then tests the tokens generated from it.
- ConfigAccessTest::testBlockConfigAccess in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ ConfigAccessTest.php - Tests access to block forms with related configuration is correct.
- ConfigEntityStaticCacheTest::testConfigOverride in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigEntityStaticCacheTest.php - Tests that the static cache is sensitive to config overrides.
- ConfigEventsTest::testConfigRenameEvent in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigEventsTest.php - Tests configuration rename event that is fired from the ConfigFactory.
- ConfigImporterTest::testUpdated in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImporterTest.php - Tests updating of configuration during import.
- ConfigInstallTest::testModuleInstallation in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigInstallTest.php - Tests module installation.
- ConfigInstallWebTest::testIntegrationModuleReinstallation in core/
modules/ config/ tests/ src/ Functional/ ConfigInstallWebTest.php - Tests module re-installation.
- ConfigLanguageOverrideTest::testConfigLanguageOverride in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigLanguageOverrideTest.php - Tests locale override based on language.
- ConfigOverrideTest::testConfOverride in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigOverrideTest.php - Tests configuration override.
- ConfigSchemaTest::testConfigSaveWithWrappingSchema in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigSchemaTest.php - Tests saving config when the type is wrapped by a dynamic type.
- ConfigSchemaTest::testConfigSaveWithWrappingSchemaDoubleBrackets in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigSchemaTest.php - Tests dynamic config schema type with multiple sub-key references.
- ConfigSnapshotTest::testSnapshot in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigSnapshotTest.php - Tests config snapshot creation and updating.
- ConfigurableLanguage::postDelete in core/
modules/ language/ src/ Entity/ ConfigurableLanguage.php - Acts on deleted entities before the delete hook is invoked.
- ConfigurableLanguage::postSave in core/
modules/ language/ src/ Entity/ ConfigurableLanguage.php - Acts on a saved entity before the insert or update hook is invoked.
- contact_form_user_admin_settings_alter in core/
modules/ contact/ contact.module - Implements hook_form_FORM_ID_alter().
- contact_form_user_admin_settings_submit in core/
modules/ contact/ contact.module - Form submission handler for user_admin_settings().
- ContextualFilterTest::setUp in core/
modules/ views/ tests/ src/ FunctionalJavascript/ Plugin/ views/ Handler/ ContextualFilterTest.php - CrudTest::testMappingCreation in core/
modules/ rdf/ tests/ src/ Kernel/ CrudTest.php - Tests creation of RDF mapping.
- dblog_form_system_logging_settings_alter in core/
modules/ dblog/ dblog.module - Implements hook_form_FORM_ID_alter() for system_logging_settings().
- dblog_logging_settings_submit in core/
modules/ dblog/ dblog.module - Form submission handler for system_logging_settings().
- DestinationTest::testDestination in core/
modules/ system/ tests/ src/ Functional/ Routing/ DestinationTest.php - Tests that $_GET/$_REQUEST['destination'] only contain internal URLs.
- DisplayTest::setUp in core/
modules/ views_ui/ tests/ src/ FunctionalJavascript/ DisplayTest.php - DisplayTest::testDisplayTitleInButtonsXss in core/
modules/ views_ui/ tests/ src/ Functional/ DisplayTest.php - Ensures that no XSS is possible for buttons.
- DisplayTest::testHideDisplayOverride in core/
modules/ views_ui/ tests/ src/ Functional/ DisplayTest.php - Tests that the override option is hidden when it's not needed.
- DrupalFlushAllCachesTest::testDrupalFlushAllCachesModuleList in core/
tests/ Drupal/ KernelTests/ Core/ Common/ DrupalFlushAllCachesTest.php - Tests that drupal_flush_all_caches() uses core.extension properly.
- drupal_install_system in core/
includes/ install.inc - Installs the system module.
- EntityUpdateTest::setUp in core/
modules/ editor/ tests/ src/ Kernel/ EntityUpdateTest.php - ExposedFilterAJAXTest::setUp in core/
modules/ views/ tests/ src/ FunctionalJavascript/ ExposedFilterAJAXTest.php - FieldTest::setUp in core/
modules/ views/ tests/ src/ FunctionalJavascript/ Plugin/ views/ Handler/ FieldTest.php - FileTestBase::setUp in core/
tests/ Drupal/ KernelTests/ Core/ File/ FileTestBase.php - FileUploadResourceTestBase::testFileUploadMaliciousExtension in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route with malicious extensions.
- FileUploadTest::testFileUploadMaliciousExtension in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - Tests using the file upload POST route with malicious extensions.
- FilterCriteriaTest::setUp in core/
modules/ views_ui/ tests/ src/ FunctionalJavascript/ FilterCriteriaTest.php - FilterTest::setUp in core/
modules/ views/ tests/ src/ FunctionalJavascript/ Plugin/ views/ Handler/ FilterTest.php - GroupedExposedFilterTest::setUp in core/
modules/ views/ tests/ src/ FunctionalJavascript/ Plugin/ views/ Handler/ GroupedExposedFilterTest.php - HelpTopicTranslatedTestBase::setUp in core/
modules/ help_topics/ tests/ src/ Functional/ HelpTopicTranslatedTestBase.php - install_config_import_batch in core/
includes/ install.core.inc - Creates a batch for the config importer to process.
- install_download_additional_translations_operations in core/
includes/ install.core.inc - Prepares the system for import and downloads additional translations.
- JsMessageTest::setUp in core/
tests/ Drupal/ FunctionalJavascriptTests/ Core/ JsMessageTest.php - JsonApiFunctionalMultilingualTest::setUp in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiFunctionalMultilingualTest.php - jsonapi_requirements in core/
modules/ jsonapi/ jsonapi.install - Implements hook_requirements().
- language_negotiation_url_prefixes_update in core/
modules/ language/ language.module - Update the list of prefixes from the installed languages.
- language_test_language_types_info_alter in core/
modules/ language/ tests/ language_test/ language_test.module - Implements hook_language_types_info_alter().
- LibraryCachingTest::testConsecutiveDialogRequests in core/
modules/ views_ui/ tests/ src/ FunctionalJavascript/ LibraryCachingTest.php - Tests if the Views UI dialogs open on consecutive requests.
- LocaleConfigManagerTest::testGetDefaultConfigLangcode in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigManagerTest.php - Tests getDefaultConfigLangcode().
- LocaleTranslationDownloadTest::setUp in core/
modules/ locale/ tests/ src/ Functional/ LocaleTranslationDownloadTest.php - locale_form_language_admin_edit_form_alter in core/
modules/ locale/ locale.module - Implements hook_form_FORM_ID_alter() for language_admin_edit_form().
- locale_form_language_admin_edit_form_alter_submit in core/
modules/ locale/ locale.module - Form submission handler for language_admin_edit_form().
- locale_form_system_file_system_settings_alter in core/
modules/ locale/ locale.module - Implements hook_form_FORM_ID_alter() for system_file_system_settings().
- locale_install in core/
modules/ locale/ locale.install - Implements hook_install().
- locale_system_file_system_settings_submit in core/
modules/ locale/ locale.module - Submit handler for the file system settings form.
- locale_system_set_config_langcodes in core/
modules/ locale/ locale.module - Updates default configuration when new modules or themes are installed.
- MediaAccessTest::testCanonicalMediaAccess in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Tests view access control on the canonical page.
- MediaAccessTest::testMediaAccess in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Tests some access control functionality.
- MediaAccessTest::testMediaAnonymousUserAccess in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Tests media access of anonymous user.
- MediaAccessTest::testReferencedRendering in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Tests access for embedded medias.
- MediaAccessTest::testUnpublishedMediaUserAccess in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Tests unpublished media access.
- MediaCacheTagsTest::setUp in core/
modules/ media/ tests/ src/ Functional/ MediaCacheTagsTest.php - MediaContextualLinksTest::testMediaContextualLinks in core/
modules/ media/ tests/ src/ Functional/ MediaContextualLinksTest.php - Tests contextual links.
- MediaDisplayTest::setUp in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaDisplayTest.php - MediaResourceTestBase::setUp in core/
modules/ media/ tests/ src/ Functional/ Rest/ MediaResourceTestBase.php - MediaSourceTestBase::setUp in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaSourceTestBase.php - ModuleExtensionListTest::testGetlist in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleExtensionListTest.php - @covers ::getList
- ModuleInstaller::install in core/
lib/ Drupal/ Core/ Extension/ ModuleInstaller.php - ModuleInstaller::uninstall in core/
lib/ Drupal/ Core/ Extension/ ModuleInstaller.php - ModuleTestBase::assertNoModuleConfig in core/
modules/ system/ tests/ src/ Functional/ Module/ ModuleTestBase.php - Asserts that no configuration exists for a given module.
- module_set_weight in core/
includes/ module.inc - Sets weight of a particular module.
- NodeTranslationUITest::doUninstallTest in core/
modules/ node/ tests/ src/ Functional/ NodeTranslationUITest.php - Tests uninstalling content_translation.
- node_form_system_themes_admin_form_alter in core/
modules/ node/ node.module - Implements hook_form_FORM_ID_alter().
- node_form_system_themes_admin_form_submit in core/
modules/ node/ node.module - Form submission handler for system_themes_admin_form().
- OEmbedFormatterTest::setUp in core/
modules/ media/ tests/ src/ Functional/ FieldFormatter/ OEmbedFormatterTest.php - OffCanvasTestBase::enableTheme in core/
modules/ system/ tests/ src/ FunctionalJavascript/ OffCanvasTestBase.php - Enables a theme.
- OliveroMessagesTest::setUp in core/
tests/ Drupal/ FunctionalJavascriptTests/ Theme/ OliveroMessagesTest.php - OverriddenConfigurationTest::testOverriddenBlock in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ OverriddenConfigurationTest.php - Tests that blocks with configuration overrides are disabled.
- OverriddenConfigurationTest::testOverriddenConfigurationRemoved in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ OverriddenConfigurationTest.php - Tests blocks with overridden related configuration removed when overridden.
- PagerTest::testStorePagerSettings in core/
modules/ views/ tests/ src/ Functional/ Plugin/ PagerTest.php - Pagers was sometimes not stored.
- PendingRevisionTest::testTaxonomyIndexWithPendingRevision in core/
modules/ taxonomy/ tests/ src/ Kernel/ PendingRevisionTest.php - Tests that the taxonomy index work correctly with pending revisions.
- PhpMail::__construct in core/
lib/ Drupal/ Core/ Mail/ Plugin/ Mail/ PhpMail.php - PhpMail constructor.
- PreviewTest::setUp in core/
modules/ views_ui/ tests/ src/ FunctionalJavascript/ PreviewTest.php - PreviewTest::testPreviewUI in core/
modules/ views_ui/ tests/ src/ Functional/ PreviewTest.php - Tests arguments in the preview form.
- ProcessedText::configFactory in core/
modules/ filter/ src/ Element/ ProcessedText.php - Wraps the config factory.
- QueryOptionsTest::testStoreQuerySettingsOverride in core/
modules/ views/ tests/ src/ Functional/ Plugin/ QueryOptionsTest.php - Test that query overrides are stored.
- RedirectOnExceptionTest::testRedirectOn404 in core/
tests/ Drupal/ KernelTests/ RequestProcessing/ RedirectOnExceptionTest.php - SearchAdminThemeTest::setUp in core/
modules/ search/ tests/ src/ Functional/ SearchAdminThemeTest.php - SearchExactTest::testExactQuery in core/
modules/ search/ tests/ src/ Functional/ SearchExactTest.php - Tests that the correct number of pager links are found for both keywords and phrases.
- ShortcutCacheTagsTest::testToolbar in core/
modules/ shortcut/ tests/ src/ Functional/ ShortcutCacheTagsTest.php - Tests visibility and cacheability of shortcuts in the toolbar.
- shortcut_install in core/
modules/ shortcut/ shortcut.install - Implements hook_install().
- shortcut_themes_installed in core/
modules/ shortcut/ shortcut.module - Implements hook_themes_installed().
- shortcut_uninstall in core/
modules/ shortcut/ shortcut.install - Implements hook_uninstall().
- syslog_form_system_logging_settings_alter in core/
modules/ syslog/ syslog.module - Implements hook_form_FORM_ID_alter().
- syslog_install in core/
modules/ syslog/ syslog.install - Implements hook_install().
- syslog_logging_settings_submit in core/
modules/ syslog/ syslog.module - Form submission handler for system_logging_settings().
- system_install in core/
modules/ system/ system.install - Implements hook_install().
- system_requirements in core/
modules/ system/ system.install - Implements hook_requirements().
- testing_site_config_install in core/
profiles/ testing_site_config/ testing_site_config.install - Implements hook_install().
- TestSiteOliveroInstallTestScript::setup in core/
tests/ Drupal/ TestSite/ TestSiteOliveroInstallTestScript.php - TextFormat::configFactory in core/
modules/ filter/ src/ Element/ TextFormat.php - Wraps the config factory.
- ThemeExtensionListTest::testGetlist in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ThemeExtensionListTest.php - @covers ::getList
- ThemeSettingsTest::testLogoConfig in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ ThemeSettingsTest.php - Tests that the default logo config can be overridden.
- TypedConfigTest::testSimpleConfigValidation in core/
tests/ Drupal/ KernelTests/ Config/ TypedConfigTest.php - Tests config validation via the Typed Data API.
- TypedConfigTest::testTypedDataAPI in core/
tests/ Drupal/ KernelTests/ Config/ TypedConfigTest.php - Verifies that the Typed Data API is implemented correctly.
- UpcastingTest::testEntityLanguage in core/
modules/ system/ tests/ src/ Functional/ ParamConverter/ UpcastingTest.php - Confirms entity is shown in user's language by default.
- UserPasswordResetTest::testUserResetPasswordIpFloodControl in core/
modules/ user/ tests/ src/ Functional/ UserPasswordResetTest.php - Tests password reset flood control for one IP.
- UserPasswordResetTest::testUserResetPasswordUserFloodControl in core/
modules/ user/ tests/ src/ Functional/ UserPasswordResetTest.php - Tests password reset flood control for one user.
- UserPasswordResetTest::testUserResetPasswordUserFloodControlIsCleared in core/
modules/ user/ tests/ src/ Functional/ UserPasswordResetTest.php - Tests user password reset flood control is cleared on successful reset.
- UserPermissionsTest::testAdministratorRole in core/
modules/ user/ tests/ src/ Functional/ UserPermissionsTest.php - Tests assigning of permissions for the administrator role.
- user_form_system_regional_settings_submit in core/
modules/ user/ user.module - Additional submit handler for \Drupal\system\Form\RegionalForm.
- views_test_data_install in core/
modules/ views/ tests/ modules/ views_test_data/ views_test_data.install - Implements hook_install().
- WhosOnlineBlockTest::setUp in core/
modules/ user/ tests/ src/ Kernel/ WhosOnlineBlockTest.php - _system_is_claro_admin_and_not_active in core/
modules/ system/ system.module - Determines if Claro is the admin theme but not the active theme.