97 string references to config.factory

AccountSettingsForm::create in core/modules/user/src/AccountSettingsForm.php
BaseFieldOverrideStorage::createInstance in core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php
BasicSettingsForm::create in core/modules/views_ui/src/Form/BasicSettingsForm.php
BlockContentLocalTasksTest::setUp in core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php
BlockLocalTasksTest::setUp in core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php
BrowserTestBaseTest::testForm in core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
Tests basic form functionality.
BrowserTestBaseTest::testLocalTimeZone in core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
Tests the assumption that local time is in 'Australia/Sydney'.
CacheabilityMetadataConfigOverrideTest::testConfigOverride in core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php
Tests if config overrides correctly set cacheability metadata.
Config::create in core/modules/migrate/src/Plugin/migrate/destination/Config.php
ConfigCRUDTest::testCRUD in core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php
Tests CRUD operations.
ConfigEntityMapper::create in core/modules/config_translation/src/ConfigEntityMapper.php
ConfigEntityStorage::createInstance in core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
ConfigExistsConstraintValidator::create in core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php
ConfigFormBase::create in core/lib/Drupal/Core/Form/ConfigFormBase.php
ConfigModuleOverridesTest::testSimpleModuleOverrides in core/tests/Drupal/KernelTests/Core/Config/ConfigModuleOverridesTest.php
ConfigNamesMapper::create in core/modules/config_translation/src/ConfigNamesMapper.php
ConfigOverridesPriorityTest::testOverridePriorities in core/tests/Drupal/KernelTests/Core/Config/ConfigOverridesPriorityTest.php
ConfigTranslationUiModulesTest::testTextFormatTranslation in core/modules/config_translation/tests/src/Functional/ConfigTranslationUiModulesTest.php
Tests text_format translation.
ConfigTranslationUiTest::testSequenceTranslation in core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
Tests the sequence data type translation.
ControllerBase::config in core/lib/Drupal/Core/Controller/ControllerBase.php
Retrieves a configuration object.
CredentialForm::create in core/modules/migrate_drupal_ui/src/Form/CredentialForm.php
CronForm::create in core/modules/system/src/Form/CronForm.php
CronSuspendQueueDelayTest::setUp in core/tests/Drupal/Tests/Core/Cron/CronSuspendQueueDelayTest.php
CronTest::setUp in core/tests/Drupal/Tests/Core/CronTest.php
DateHelperTest::setUp in core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
DateHelperTest::testWeekDaysOrdered in core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
@covers ::weekDaysOrdered @dataProvider providerTestWeekDaysOrdered
DateTest::setUp in core/tests/Drupal/Tests/Core/Datetime/DateTest.php
DefaultConfigTest::doTestsOnConfigStorage in core/tests/Drupal/KernelTests/Config/DefaultConfigTest.php
Tests that default config matches the installed config.
Drupal::configFactory in core/lib/Drupal.php
Retrieves the configuration factory.
DrupalTest::testConfig in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the config() method.
DynamicLocalTasks::create in core/modules/media/src/Plugin/Derivative/DynamicLocalTasks.php
EntityConfigBase::create in core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php
EntityResource::create in core/modules/rest/src/Plugin/rest/resource/EntityResource.php
EntitySearchPage::create in core/modules/search/src/Plugin/migrate/destination/EntitySearchPage.php
EntityUserRole::create in core/modules/user/src/Plugin/migrate/destination/EntityUserRole.php
FieldConfigStorage::createInstance in core/modules/field/src/FieldConfigStorage.php
FieldStorageAddForm::create in core/modules/field_ui/src/Form/FieldStorageAddForm.php
FieldStorageConfigStorage::createInstance in core/modules/field/src/FieldStorageConfigStorage.php
FileExtensionSecureConstraintValidator::create in core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php
FileSystemForm::create in core/modules/system/src/Form/FileSystemForm.php
FilterFormatListBuilder::createInstance in core/modules/filter/src/FilterFormatListBuilder.php
FormBase::configFactory in core/lib/Drupal/Core/Form/FormBase.php
Gets the config factory for this form.
FormObjectTest::setUp in core/modules/system/tests/src/Kernel/Form/FormObjectTest.php
FormObjectTest::testObjectFormCallback in core/modules/system/tests/src/Functional/Form/FormObjectTest.php
Tests using an object as the form callback.
FormTestControllerObject::create in core/modules/system/tests/modules/form_test/src/FormTestControllerObject.php
FunctionalTestSetupTrait::initConfig in core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php
Initialize various configurations post-installation.
GDToolkit::create in core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
Image::create in core/modules/media/src/Plugin/media/Source/Image.php
ImageToolkitForm::create in core/modules/system/src/Form/ImageToolkitForm.php
IncrementalForm::create in core/modules/migrate_drupal_ui/src/Form/IncrementalForm.php
LanguageListBuilder::createInstance in core/modules/language/src/LanguageListBuilder.php
LocaleConfigSubscriberTest::setUp in core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php
LocalTaskIntegrationTestBase::setUp in core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php
MailManagerTest::setUpMailManager in core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php
Sets up the mail manager for testing.
MediaRouteProvider::createInstance in core/modules/media/src/Routing/MediaRouteProvider.php
MediaSettingsForm::create in core/modules/media/src/Form/MediaSettingsForm.php
MediaSourceBase::create in core/modules/media/src/MediaSourceBase.php
MenuLinksetRoutes::create in core/modules/system/src/Routing/MenuLinksetRoutes.php
MenuLinksetSettingsForm::create in core/modules/system/src/Form/MenuLinksetSettingsForm.php
MigrateDrupalServiceProvider::alter in core/modules/migrate_drupal/src/MigrateDrupalServiceProvider.php
MigrateUpgradeFormBase::create in core/modules/migrate_drupal_ui/src/Form/MigrateUpgradeFormBase.php
MigrationConfigurationTrait::getConfigFactory in core/modules/migrate_drupal/src/MigrationConfigurationTrait.php
Gets the config factory service.
NavigationSectionStorage::create in core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php
NegotiationBrowserForm::create in core/modules/language/src/Form/NegotiationBrowserForm.php
NegotiationConfigureForm::create in core/modules/language/src/Form/NegotiationConfigureForm.php
NegotiationUrlForm::create in core/modules/language/src/Form/NegotiationUrlForm.php
NodePreviewForm::create in core/modules/node/src/Form/NodePreviewForm.php
OEmbed::create in core/modules/media/src/Plugin/media/Source/OEmbed.php
OEmbedFormatter::create in core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php
PathPluginBaseTest::setupContainer in core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php
Setup access plugin manager and config factory in the Drupal class.
PerformanceForm::create in core/modules/system/src/Form/PerformanceForm.php
PhpMailTest::setUp in core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php
RecipeRunner::processConfiguration in core/lib/Drupal/Core/Recipe/RecipeRunner.php
Creates configuration and applies configuration actions.
RegionalForm::create in core/modules/system/src/Form/RegionalForm.php
ReviewForm::create in core/modules/migrate_drupal_ui/src/Form/ReviewForm.php
SchemaListenerController::create in core/modules/config/tests/config_test/src/SchemaListenerController.php
SearchBlockForm::create in core/modules/search/src/Form/SearchBlockForm.php
SearchPage::configFactory in core/modules/search/src/Entity/SearchPage.php
Wraps the config factory.
SearchPageListBuilder::createInstance in core/modules/search/src/SearchPageListBuilder.php
SettingsForm::create in core/modules/navigation/src/Form/SettingsForm.php
ShortcutSetStorage::createInstance in core/modules/shortcut/src/ShortcutSetStorage.php
SimpleConfigSectionStorage::create in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php
SimpleConfigUpdate::create in core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/SimpleConfigUpdate.php
SiteInformationForm::create in core/modules/system/src/Form/SiteInformationForm.php
SiteMaintenanceModeForm::create in core/modules/system/src/Form/SiteMaintenanceModeForm.php
StatisticsSettingsForm::create in core/modules/statistics/src/StatisticsSettingsForm.php
SyndicateBlock::create in core/modules/node/src/Plugin/Block/SyndicateBlock.php
SystemBrandingBlock::create in core/modules/system/src/Plugin/Block/SystemBrandingBlock.php
SystemBrandingOffCanvasForm::create in core/modules/system/src/Form/SystemBrandingOffCanvasForm.php
SystemMenuOffCanvasForm::create in core/modules/system/src/Form/SystemMenuOffCanvasForm.php
TestToolkit::create in core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php
ThemeInstallController::create in core/modules/system/tests/modules/nightwatch_theme_install_utility/src/Controller/ThemeInstallController.php
ThemeSettings::create in core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php
ThemeSettingsForm::create in core/modules/system/src/Form/ThemeSettingsForm.php
TimezoneResolverTest::testGetTimeZone in core/modules/system/tests/src/Kernel/TimezoneResolverTest.php
Tests time zone resolution.
UpdateMailTest::testUpdateEmail in core/modules/update/tests/src/Unit/UpdateMailTest.php
Test the subject and body of update text.
UserPasswordForm::create in core/modules/user/src/Form/UserPasswordForm.php

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