97 string references to config.factory

AccountSettingsForm::create in core/modules/user/src/AccountSettingsForm.php
Instantiates a new instance of this class.
BaseFieldOverrideStorage::createInstance in core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php
Instantiates a new instance of this entity handler.
BasicSettingsForm::create in core/modules/views_ui/src/Form/BasicSettingsForm.php
Instantiates a new instance of this class.
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
Creates an instance of the plugin.
ConfigCRUDTest::testCRUD in core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php
Tests CRUD operations.
ConfigEntityMapper::create in core/modules/config_translation/src/ConfigEntityMapper.php
Creates an instance of the plugin.
ConfigEntityStorage::createInstance in core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php
Instantiates a new instance of this entity handler.
ConfigExistsConstraintValidator::create in core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/ConfigExistsConstraintValidator.php
Instantiates a new instance of this class.
ConfigFormBase::create in core/lib/Drupal/Core/Form/ConfigFormBase.php
Instantiates a new instance of this class.
ConfigModuleOverridesTest::testSimpleModuleOverrides in core/tests/Drupal/KernelTests/Core/Config/ConfigModuleOverridesTest.php
ConfigNamesMapper::create in core/modules/config_translation/src/ConfigNamesMapper.php
Creates an instance of the plugin.
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
Instantiates a new instance of this class.
CronForm::create in core/modules/system/src/Form/CronForm.php
Instantiates a new instance of this class.
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
Creates a new class instance.
EntityConfigBase::create in core/modules/migrate/src/Plugin/migrate/destination/EntityConfigBase.php
Creates an instance of the plugin.
EntityResource::create in core/modules/rest/src/Plugin/rest/resource/EntityResource.php
Creates an instance of the plugin.
EntitySearchPage::create in core/modules/search/src/Plugin/migrate/destination/EntitySearchPage.php
Creates an instance of the plugin.
EntityUserRole::create in core/modules/user/src/Plugin/migrate/destination/EntityUserRole.php
Creates an instance of the plugin.
FieldConfigStorage::createInstance in core/modules/field/src/FieldConfigStorage.php
Instantiates a new instance of this entity handler.
FieldStorageAddForm::create in core/modules/field_ui/src/Form/FieldStorageAddForm.php
Instantiates a new instance of this class.
FieldStorageConfigStorage::createInstance in core/modules/field/src/FieldStorageConfigStorage.php
Instantiates a new instance of this entity handler.
FileExtensionSecureConstraintValidator::create in core/modules/file/src/Plugin/Validation/Constraint/FileExtensionSecureConstraintValidator.php
Instantiates a new instance of this class.
FileSystemForm::create in core/modules/system/src/Form/FileSystemForm.php
Instantiates a new instance of this class.
FilterFormatListBuilder::createInstance in core/modules/filter/src/FilterFormatListBuilder.php
Instantiates a new instance of this entity handler.
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
Instantiates a new instance of this class.
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
Creates an instance of the plugin.
Image::create in core/modules/media/src/Plugin/media/Source/Image.php
Creates an instance of the plugin.
ImageToolkitForm::create in core/modules/system/src/Form/ImageToolkitForm.php
Instantiates a new instance of this class.
IncrementalForm::create in core/modules/migrate_drupal_ui/src/Form/IncrementalForm.php
Instantiates a new instance of this class.
LanguageListBuilder::createInstance in core/modules/language/src/LanguageListBuilder.php
Instantiates a new instance of this entity handler.
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
Instantiates a new instance of this entity handler.
MediaSettingsForm::create in core/modules/media/src/Form/MediaSettingsForm.php
Instantiates a new instance of this class.
MediaSourceBase::create in core/modules/media/src/MediaSourceBase.php
Creates an instance of the plugin.
MenuLinksetRoutes::create in core/modules/system/src/Routing/MenuLinksetRoutes.php
Instantiates a new instance of this class.
MenuLinksetSettingsForm::create in core/modules/system/src/Form/MenuLinksetSettingsForm.php
Instantiates a new instance of this class.
MigrateDrupalServiceProvider::alter in core/modules/migrate_drupal/src/MigrateDrupalServiceProvider.php
Modifies existing service definitions.
MigrateUpgradeFormBase::create in core/modules/migrate_drupal_ui/src/Form/MigrateUpgradeFormBase.php
Instantiates a new instance of this class.
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
Creates an instance of the plugin.
NegotiationBrowserForm::create in core/modules/language/src/Form/NegotiationBrowserForm.php
Instantiates a new instance of this class.
NegotiationConfigureForm::create in core/modules/language/src/Form/NegotiationConfigureForm.php
Instantiates a new instance of this class.
NegotiationUrlForm::create in core/modules/language/src/Form/NegotiationUrlForm.php
Instantiates a new instance of this class.
NodePreviewForm::create in core/modules/node/src/Form/NodePreviewForm.php
Instantiates a new instance of this class.
OEmbed::create in core/modules/media/src/Plugin/media/Source/OEmbed.php
Creates an instance of the plugin.
OEmbedFormatter::create in core/modules/media/src/Plugin/Field/FieldFormatter/OEmbedFormatter.php
Creates an instance of the plugin.
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
Instantiates a new instance of this class.
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
Instantiates a new instance of this class.
ReviewForm::create in core/modules/migrate_drupal_ui/src/Form/ReviewForm.php
Instantiates a new instance of this class.
SchemaListenerController::create in core/modules/config/tests/config_test/src/SchemaListenerController.php
Instantiates a new instance of the implementing class using autowiring.
SearchBlockForm::create in core/modules/search/src/Form/SearchBlockForm.php
Instantiates a new instance of this class.
SearchPage::configFactory in core/modules/search/src/Entity/SearchPage.php
Wraps the config factory.
SearchPageListBuilder::createInstance in core/modules/search/src/SearchPageListBuilder.php
Instantiates a new instance of this entity handler.
SettingsForm::create in core/modules/navigation/src/Form/SettingsForm.php
Instantiates a new instance of this class.
ShortcutSetStorage::createInstance in core/modules/shortcut/src/ShortcutSetStorage.php
Instantiates a new instance of this entity handler.
SimpleConfigSectionStorage::create in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php
Creates an instance of the plugin.
SimpleConfigUpdate::create in core/lib/Drupal/Core/Config/Action/Plugin/ConfigAction/SimpleConfigUpdate.php
Creates an instance of the plugin.
SiteInformationForm::create in core/modules/system/src/Form/SiteInformationForm.php
Instantiates a new instance of this class.
SiteMaintenanceModeForm::create in core/modules/system/src/Form/SiteMaintenanceModeForm.php
Instantiates a new instance of this class.
StatisticsSettingsForm::create in core/modules/statistics/src/StatisticsSettingsForm.php
Instantiates a new instance of this class.
SyndicateBlock::create in core/modules/node/src/Plugin/Block/SyndicateBlock.php
Creates an instance of the plugin.
SystemBrandingBlock::create in core/modules/system/src/Plugin/Block/SystemBrandingBlock.php
Creates an instance of the plugin.
SystemBrandingOffCanvasForm::create in core/modules/system/src/Form/SystemBrandingOffCanvasForm.php
Instantiates a new instance of this class.
SystemMenuOffCanvasForm::create in core/modules/system/src/Form/SystemMenuOffCanvasForm.php
Instantiates a new instance of this class.
TestToolkit::create in core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php
Creates an instance of the plugin.
ThemeInstallController::create in core/modules/system/tests/modules/nightwatch_theme_install_utility/src/Controller/ThemeInstallController.php
Instantiates a new instance of the implementing class using autowiring.
ThemeSettings::create in core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php
Creates an instance of the plugin.
ThemeSettingsForm::create in core/modules/system/src/Form/ThemeSettingsForm.php
Instantiates a new instance of this class.
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
Instantiates a new instance of this class.

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