94 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
BookManagerDeprecationTest::testOptionalParametersDeprecation in core/modules/book/tests/src/Kernel/BookManagerDeprecationTest.php
@covers ::__construct
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.
Color::create in core/modules/color/src/Plugin/migrate/destination/Color.php
Creates an instance of the plugin.
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.
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
ConfigTranslationUiTest::testSequenceTranslation in core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
Tests the sequence data type translation.
ConfigTranslationUiTest::testTextFormatTranslation in core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
Tests text_format 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.
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.
DefaultProcessor::create in core/modules/aggregator/src/Plugin/aggregator/processor/DefaultProcessor.php
Creates an instance of the plugin.
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.
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.
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.
MaintenanceMode::__construct in core/lib/Drupal/Core/Site/MaintenanceMode.php
Constructs a new maintenance mode service.
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.
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.
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
ProviderRepositoryTest::testDeprecations in core/modules/media/tests/src/Kernel/ProviderRepositoryTest.php
@covers ::__construct
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 this class.
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/aggregator/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.
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.
TestProcessor::create in core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/processor/TestProcessor.php
Creates an instance of the plugin.
TestToolkit::create in core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php
Creates an instance of the plugin.
ThemeController::create in core/modules/system/src/Controller/ThemeController.php
Instantiates a new instance of this class.
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.
UpdateSettingsForm::create in core/modules/update/src/UpdateSettingsForm.php
Instantiates a new instance of this class.
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.