You are here

129 string references to config.factory in Drupal 10

AccountSettingsForm::create in core/modules/user/src/AccountSettingsForm.php
Instantiates a new instance of this class.
AreaEntityTest::setUpFixtures in core/modules/views/tests/src/Kernel/Handler/AreaEntityTest.php
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.
BigPipeRegressionTest::setUp in core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php
BigPipeRegressionTest::setUp in core/modules/ckeditor/tests/src/FunctionalJavascript/BigPipeRegressionTest.php
BlockContentLocalTasksTest::setUp in core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php
BlockDemoTest::testBlockDemo in core/modules/block/tests/src/Functional/BlockDemoTest.php
Check for the accessibility of the admin block demo page.
BlockLocalTasksTest::setUp in core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php
BlockRebuildTest::setUp in core/modules/block/tests/src/Kernel/BlockRebuildTest.php
BlockTheme::create in core/modules/block/src/Plugin/migrate/process/BlockTheme.php
Creates an instance of the plugin.
BookBreadcrumbTest::testBreadcrumbAccessUpdates in core/modules/book/tests/src/Functional/BookBreadcrumbTest.php
Tests that the breadcrumb is updated when book access changes.
BrowserTestBase::config in core/tests/Drupal/Tests/BrowserTestBase.php
Configuration accessor for tests. Returns non-overridden configuration.
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.
ClassyTest::setUp in core/modules/system/tests/src/Kernel/Render/ClassyTest.php
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.
ConfigEntityImportTest::assertConfigUpdateImport in core/modules/system/tests/src/Kernel/Entity/ConfigEntityImportTest.php
Asserts that config entities are updated during import.
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.
ConfigFormBase::create in core/lib/Drupal/Core/Form/ConfigFormBase.php
Instantiates a new instance of this class.
ConfigInstallWebTest::testIntegrationModuleReinstallation in core/modules/config/tests/src/Functional/ConfigInstallWebTest.php
Tests module re-installation.
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
ConfigTranslationUiTest::getTranslation in core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
Gets translation from locale storage.
ConfigTranslationUiTest::testPluralConfigStringsSourceElements in core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
Tests the number of source elements for plural strings in config translation forms.
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.
ControllerBaseTest::testGetConfig in core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php
Tests the config method.
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.
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::config in core/lib/Drupal.php
Retrieves a configuration object.
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.
EntityResource::deleteIndividual in core/modules/jsonapi/src/Controller/EntityResource.php
Deletes an individual entity.
EntitySearchPage::create in core/modules/search/src/Plugin/migrate/destination/EntitySearchPage.php
Creates an instance of the plugin.
FieldBlockTest::testUserFieldBlock in core/modules/layout_builder/tests/src/FunctionalJavascript/FieldBlockTest.php
Tests configuring a field block for a user field.
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.
FileUploadResource::create in core/modules/file/src/Plugin/rest/resource/FileUploadResource.php
Creates an instance of the plugin.
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.
FunctionalTestSetupTrait::installDefaultThemeFromClassProperty in core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php
Installs the default theme defined by `static::$defaultTheme` when needed.
GDToolkit::create in core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
HelpSearch::create in core/modules/help_topics/src/Plugin/Search/HelpSearch.php
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.
InstallerTestBase::setUp in core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
KernelTestBase::config in core/tests/Drupal/KernelTests/KernelTestBase.php
Configuration accessor for tests. Returns non-overridden configuration.
KernelTestBase::setInstallProfile in core/tests/Drupal/KernelTests/KernelTestBase.php
Sets the install profile and rebuilds the container to update it.
LanguageListBuilder::createInstance in core/modules/language/src/LanguageListBuilder.php
Instantiates a new instance of this entity handler.
LanguageServiceProvider::alter in core/modules/language/src/LanguageServiceProvider.php
LanguageServiceProvider::register in core/modules/language/src/LanguageServiceProvider.php
LayoutBuilderTest::testSimpleConfigBasedLayout in core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php
Tests a config-based implementation of Layout Builder.
LocalActionTest::testLocalAction in core/modules/system/tests/src/Functional/Menu/LocalActionTest.php
Tests appearance of local actions.
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.
MediaDisplayTest::setUp in core/modules/media/tests/src/FunctionalJavascript/MediaDisplayTest.php
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
MenuUiNodeTest::testMultilingualMenuNodeFormWidget in core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php
Testing correct loading and saving of menu links via node form widget in a multilingual environment.
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.
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.
NodeSearch::create in core/modules/node/src/Plugin/Search/NodeSearch.php
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.
OliveroTest::testPreprocessBlock in core/tests/Drupal/FunctionalTests/Theme/OliveroTest.php
Tests that olivero_preprocess_block is functioning as expected.
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.
RefreshVariablesTrait::refreshVariables in core/lib/Drupal/Core/Test/RefreshVariablesTrait.php
Refreshes in-memory configuration and state information.
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
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.
SecurityAdvisoriesFetcherTest::testIntervalConfigUpdate in core/modules/system/tests/src/Kernel/SecurityAdvisories/SecurityAdvisoriesFetcherTest.php
Tests that the stored advisories response is deleted on interval decrease.
ShortcutSetStorage::createInstance in core/modules/shortcut/src/ShortcutSetStorage.php
Instantiates a new instance of this entity handler.
SimpleConfigSectionListTest::getSectionList in core/modules/layout_builder/tests/src/Kernel/SimpleConfigSectionListTest.php
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.
statistics.php in core/modules/statistics/statistics.php
Handles counts of node views via AJAX with minimal bootstrap.
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
SyslogTest::testSyslogSeverity in core/modules/syslog/tests/src/Kernel/SyslogTest.php
Tests severity level logging.
SyslogTest::testSyslogWriting in core/modules/syslog/tests/src/Kernel/SyslogTest.php
@covers ::log
SystemBrandingBlock::create in core/modules/system/src/Plugin/Block/SystemBrandingBlock.php
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.
TestLocalActionWithConfig::create in core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalAction/TestLocalActionWithConfig.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.
UpdatePathNewDependencyTest::testUpdateNewDependency in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php
Tests that a module can add services that depend on new modules.
UpdateScriptTest::assertInstalledExtensionConfig in core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php
Asserts that an installed extension's config setting is correct.
UpdateScriptTest::testSuccessfulMultilingualUpdateFunctionality in core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php
Tests performing updates with update.php in a multilingual environment.
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.
UserRegistrationResource::create in core/modules/user/src/Plugin/rest/resource/UserRegistrationResource.php
Creates an instance of the plugin.
UserUpdate7002::create in core/modules/user/src/Plugin/migrate/process/d6/UserUpdate7002.php
Creates an instance of the plugin.
ViewsModerationStateFilterTest::loadViewUnchanged in core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php
Load a view from the database after it has been modified in a sub-request.
WeightTest::testProcessWeightSelectMax in core/tests/Drupal/KernelTests/Core/Render/Element/WeightTest.php
Tests transformation from "select" to "number" for MAX_DELTA + 1.