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 - 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 - 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 - 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 - 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 - 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 - FileExtensionSecureConstraintValidator::create in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileExtensionSecureConstraintValidator.php - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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.