88 files declare their use of StateInterface
- AliasPrefixList.php in core/
modules/ path_alias/ src/ AliasPrefixList.php - AssetQueryString.php in core/
lib/ Drupal/ Core/ Asset/ AssetQueryString.php - AutomatedCron.php in core/
modules/ automated_cron/ src/ EventSubscriber/ AutomatedCron.php - BrokenInboundPathProcessor.php in core/
modules/ system/ tests/ modules/ update_script_test/ src/ PathProcessor/ BrokenInboundPathProcessor.php - CacheableMetadataCalculationTest.php in core/
modules/ views/ tests/ modules/ views_test_cacheable_metadata_calculation/ src/ Plugin/ views/ access/ CacheableMetadataCalculationTest.php - CommentStatistics.php in core/
modules/ comment/ src/ CommentStatistics.php - ContentModerationStateTest.php in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - CredentialForm.php in core/
modules/ migrate_drupal_ui/ src/ Form/ CredentialForm.php - Cron.php in core/
lib/ Drupal/ Core/ Cron.php - CronForm.php in core/
modules/ system/ src/ Form/ CronForm.php - CronSuspendQueueDelayTest.php in core/
tests/ Drupal/ Tests/ Core/ Cron/ CronSuspendQueueDelayTest.php - CssCollectionRendererUnitTest.php in core/
tests/ Drupal/ Tests/ Core/ Asset/ CssCollectionRendererUnitTest.php - DbUpdateController.php in core/
modules/ system/ src/ Controller/ DbUpdateController.php - DeletedFieldsRepository.php in core/
lib/ Drupal/ Core/ Field/ DeletedFieldsRepository.php - DeletedWorkspaceConstraintValidator.php in core/
modules/ workspaces/ src/ Plugin/ Validation/ Constraint/ DeletedWorkspaceConstraintValidator.php - DrupalSqlBase.php in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ DrupalSqlBase.php - EntityComment.php in core/
modules/ comment/ src/ Plugin/ migrate/ destination/ EntityComment.php - EntityComputedFieldTest.php in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityComputedFieldTest.php - EntitySchemaSubscriber.php in core/
modules/ system/ tests/ modules/ entity_test_update/ src/ EventSubscriber/ EntitySchemaSubscriber.php - EntityTestDefinitionSubscriber.php in core/
modules/ system/ tests/ modules/ entity_test/ src/ EntityTestDefinitionSubscriber.php - EntityTestResourceTestBase.php in core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Rest/ EntityTestResourceTestBase.php - EventSubscriber.php in core/
modules/ config/ tests/ config_import_test/ src/ EventSubscriber.php - EventSubscriber.php in core/
modules/ config/ tests/ config_transformer_test/ src/ EventSubscriber.php - EventSubscriber.php in core/
modules/ config/ tests/ config_events_test/ src/ EventSubscriber.php - EventSubscriber.php in core/
modules/ language/ tests/ language_events_test/ src/ EventSubscriber.php - EventSubscriber.php in core/
modules/ config/ tests/ config_collection_install_test/ src/ EventSubscriber.php - ExtensionList.php in core/
lib/ Drupal/ Core/ Extension/ ExtensionList.php - ExtensionListTest.php in core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionListTest.php - Feed.php in core/
modules/ views/ src/ Plugin/ views/ display/ Feed.php - FileTestSaveUploadFromForm.php in core/
modules/ file/ tests/ file_test/ src/ Form/ FileTestSaveUploadFromForm.php - HelpSearch.php in core/
modules/ help/ src/ Plugin/ Search/ HelpSearch.php - IncrementalForm.php in core/
modules/ migrate_drupal_ui/ src/ Form/ IncrementalForm.php - InstallHelper.php in core/
profiles/ demo_umami/ modules/ demo_umami_content/ src/ InstallHelper.php - LinearHistory.php in core/
lib/ Drupal/ Core/ Config/ Checkpoint/ LinearHistory.php - LinearHistoryTest.php in core/
tests/ Drupal/ Tests/ Core/ Config/ Checkpoint/ LinearHistoryTest.php - LoggingBeginner.php in core/
modules/ package_manager/ tests/ modules/ package_manager_bypass/ src/ LoggingBeginner.php - LoggingCommitter.php in core/
modules/ package_manager/ tests/ modules/ package_manager_bypass/ src/ LoggingCommitter.php - MaintenanceMode.php in core/
lib/ Drupal/ Core/ Site/ MaintenanceMode.php - MatcherDumper.php in core/
lib/ Drupal/ Core/ Routing/ MatcherDumper.php - MigrateUpgradeFormBase.php in core/
modules/ migrate_drupal_ui/ src/ Form/ MigrateUpgradeFormBase.php - MockPathLocator.php in core/
modules/ package_manager/ tests/ modules/ package_manager_bypass/ src/ MockPathLocator.php - ModuleExtensionList.php in core/
lib/ Drupal/ Core/ Extension/ ModuleExtensionList.php - Node.php in core/
modules/ node/ src/ Plugin/ migrate/ source/ d6/ Node.php - Node.php in core/
modules/ node/ src/ Plugin/ migrate/ source/ d7/ Node.php - NodeStatisticsDatabaseStorage.php in core/
modules/ statistics/ src/ NodeStatisticsDatabaseStorage.php - NodeTranslationExceptionSubscriber.php in core/
modules/ node/ src/ EventSubscriber/ NodeTranslationExceptionSubscriber.php - NodeTranslationMigrateSubscriber.php in core/
modules/ node/ src/ EventSubscriber/ NodeTranslationMigrateSubscriber.php - NoOpStager.php in core/
modules/ package_manager/ tests/ modules/ package_manager_bypass/ src/ NoOpStager.php - PackageManagerUpdateProcessor.php in core/
modules/ package_manager/ src/ PackageManagerUpdateProcessor.php - Page.php in core/
modules/ views/ src/ Plugin/ views/ display/ Page.php - PathPluginBase.php in core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php - PathRootsSubscriber.php in core/
lib/ Drupal/ Core/ EventSubscriber/ PathRootsSubscriber.php - PerformanceTestRecorder.php in core/
lib/ Drupal/ Core/ Test/ PerformanceTestRecorder.php - PluginManagerCacheClearer.php in core/
modules/ system/ tests/ modules/ module_test/ src/ PluginManagerCacheClearer.php - PluralFormula.php in core/
modules/ locale/ src/ PluralFormula.php - PrivateKey.php in core/
lib/ Drupal/ Core/ PrivateKey.php - RestExport.php in core/
modules/ rest/ src/ Plugin/ views/ display/ RestExport.php - ReviewForm.php in core/
modules/ migrate_drupal_ui/ src/ Form/ ReviewForm.php - RoutePreloader.php in core/
lib/ Drupal/ Core/ Routing/ RoutePreloader.php - RouteProvider.php in core/
lib/ Drupal/ Core/ Routing/ RouteProvider.php - RouteSubscriber.php in core/
modules/ views/ src/ EventSubscriber/ RouteSubscriber.php - SiteMaintenanceModeForm.php in core/
modules/ system/ src/ Form/ SiteMaintenanceModeForm.php - SqlBase.php in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php - SqlContentEntityStorageSchemaColumnTest.php in core/
modules/ field/ tests/ src/ Kernel/ Entity/ Update/ SqlContentEntityStorageSchemaColumnTest.php - StagedDatabaseUpdateValidator.php in core/
modules/ package_manager/ tests/ modules/ package_manager_test_validation/ src/ StagedDatabaseUpdateValidator.php - StageFixtureManipulator.php in core/
modules/ package_manager/ tests/ modules/ fixture_manipulator/ src/ StageFixtureManipulator.php - StateTest.php in core/
tests/ Drupal/ Tests/ Core/ State/ StateTest.php - TableDragTestForm.php in core/
modules/ system/ tests/ modules/ tabledrag_test/ src/ Form/ TableDragTestForm.php - TestAccessBlock.php in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestAccessBlock.php - TestClass.php in core/
modules/ system/ tests/ modules/ service_provider_test/ src/ TestClass.php - TestSubscriber.php in core/
modules/ package_manager/ tests/ modules/ package_manager_test_validation/ src/ EventSubscriber/ TestSubscriber.php - TestSystemLoggerChannel.php in core/
modules/ system/ tests/ modules/ advisory_feed_test/ src/ TestSystemLoggerChannel.php - TestToolkit.php in core/
modules/ system/ tests/ modules/ image_test/ src/ Plugin/ ImageToolkit/ TestToolkit.php - TestWaitTerminateMiddleware.php in core/
lib/ Drupal/ Core/ Test/ StackMiddleware/ TestWaitTerminateMiddleware.php - ThemeExtensionList.php in core/
lib/ Drupal/ Core/ Extension/ ThemeExtensionList.php - ThemeInstaller.php in core/
lib/ Drupal/ Core/ Extension/ ThemeInstaller.php - TranslateFormBase.php in core/
modules/ locale/ src/ Form/ TranslateFormBase.php - TranslationStatusForm.php in core/
modules/ locale/ src/ Form/ TranslationStatusForm.php - TwigEnvironment.php in core/
lib/ Drupal/ Core/ Template/ TwigEnvironment.php - UpdateManagerUpdate.php in core/
modules/ update/ src/ Form/ UpdateManagerUpdate.php - UpdateProcessor.php in core/
modules/ update/ src/ UpdateProcessor.php - UpdateReady.php in core/
modules/ update/ src/ Form/ UpdateReady.php - UserHooksTest.php in core/
modules/ user/ tests/ modules/ user_hooks_test/ src/ Hook/ UserHooksTest.php - Variable.php in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ Variable.php - VariableTranslation.php in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ d7/ VariableTranslation.php - VariableTranslation.php in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ d6/ VariableTranslation.php - ViewsLocalTask.php in core/
modules/ views/ src/ Plugin/ Derivative/ ViewsLocalTask.php - WorkspaceManager.php in core/
modules/ workspaces/ src/ WorkspaceManager.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.