79 string references to 'State'
- AliasTest::testPrefixList in core/
modules/ path_alias/ tests/ src/ Kernel/ AliasTest.php - Tests the alias prefix.
- AliasTest::testPrefixListCacheDeletionMidRequest in core/
modules/ path_alias/ tests/ src/ Kernel/ AliasTest.php - Tests situation where the prefix list cache is deleted mid-request.
- AssetQueryStringTest::testResetGet in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AssetQueryStringTest.php - @covers ::get @covers ::reset
- CacheableMetadataCalculationTest::create in core/
modules/ views/ tests/ modules/ views_test_cacheable_metadata_calculation/ src/ Plugin/ views/ access/ CacheableMetadataCalculationTest.php - Creates an instance of the plugin.
- CacheableMetadataCalculationTest::setUp in core/
modules/ views/ tests/ src/ Kernel/ CacheableMetadataCalculationTest.php - CollectRoutesTest::setUp in core/
modules/ rest/ tests/ src/ Unit/ CollectRoutesTest.php - ComplexTestTypeStateForm::buildConfigurationForm in core/
modules/ workflows/ tests/ modules/ workflow_type_test/ src/ Form/ ComplexTestTypeStateForm.php - Form constructor.
- ContentModerationResaveTest::setUp in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationResaveTest.php - ContentModerationStateForm::buildConfigurationForm in core/
modules/ content_moderation/ src/ Form/ ContentModerationStateForm.php - Form constructor.
- ContentTranslationEntityBundleInfoTest::testHookInvocationOrder in core/
modules/ content_translation/ tests/ src/ Kernel/ ContentTranslationEntityBundleInfoTest.php - Tests that modules can know whether bundles are translatable.
- ContentTranslationHandlerTest::setUp in core/
modules/ content_translation/ tests/ src/ Kernel/ ContentTranslationHandlerTest.php - 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 - d6_language_content_taxonomy_vocabulary_settings.yml in core/
modules/ language/ migrations/ d6_language_content_taxonomy_vocabulary_settings.yml - core/modules/language/migrations/d6_language_content_taxonomy_vocabulary_settings.yml
- DbUpdateController::create in core/
modules/ system/ src/ Controller/ DbUpdateController.php - Instantiates a new instance of the implementing class using autowiring.
- DeletedWorkspaceConstraintValidator::create in core/
modules/ workspaces/ src/ Plugin/ Validation/ Constraint/ DeletedWorkspaceConstraintValidator.php - Instantiates a new instance of this class.
- DrupalSqlBase::create in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ DrupalSqlBase.php - Creates an instance of the plugin.
- DrupalTest::testState in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the state() method.
- EntityAccessControlHandlerTest::testHooks in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityAccessControlHandlerTest.php - Tests hook invocations.
- EntityComment::create in core/
modules/ comment/ src/ Plugin/ migrate/ destination/ EntityComment.php - Creates an instance of the plugin.
- EntityComputedFieldTest::setUp in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityComputedFieldTest.php - EntityFormTest::testValidationHandlers in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityFormTest.php - Checks that validation handlers works as expected.
- EntityKernelTestBase::refreshServices in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityKernelTestBase.php - Refresh services.
- EntityKernelTestBase::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityKernelTestBase.php - Feed::create in core/
modules/ views/ src/ Plugin/ views/ display/ Feed.php - Creates an instance of the plugin.
- FileTestSaveUploadFromForm::create in core/
modules/ file/ tests/ file_test/ src/ Form/ FileTestSaveUploadFromForm.php - Instantiates a new instance of this class.
- HelpSearch::create in core/
modules/ help/ src/ Plugin/ Search/ HelpSearch.php - Creates an instance of the plugin.
- ImageEffectsTest::testImageEffectsCaching in core/
modules/ image/ tests/ src/ Kernel/ ImageEffectsTest.php - Tests image effect caching.
- IncrementalForm::create in core/
modules/ migrate_drupal_ui/ src/ Form/ IncrementalForm.php - Instantiates a new instance of this class.
- InstallHelper::create in core/
profiles/ demo_umami/ modules/ demo_umami_content/ src/ InstallHelper.php - Instantiates a new instance of this class.
- LanguageContentSettingsTaxonomyVocabulary::prepareRow in core/
modules/ language/ src/ Plugin/ migrate/ source/ d6/ LanguageContentSettingsTaxonomyVocabulary.php - Adds additional data to the row.
- LanguageTestBase::setUp in core/
modules/ language/ tests/ src/ Kernel/ LanguageTestBase.php - LegacyStateTest::testDeprecatedState in core/
tests/ Drupal/ KernelTests/ Core/ State/ LegacyStateTest.php - @covers ::get @covers ::set
- MigrateUpgradeFormBase::create in core/
modules/ migrate_drupal_ui/ src/ Form/ MigrateUpgradeFormBase.php - Instantiates a new instance of this class.
- MigrateUpgradeFormStepsTest::testMigrateUpgradeReviewPage in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeFormStepsTest.php - Tests the flow of the Migrate Drupal UI form.
- MigrationConfigurationTrait::getState in core/
modules/ migrate_drupal/ src/ MigrationConfigurationTrait.php - Gets the state service.
- Node::create in core/
modules/ node/ src/ Plugin/ migrate/ source/ d6/ Node.php - Creates an instance of the plugin.
- Node::create in core/
modules/ node/ src/ Plugin/ migrate/ source/ d7/ Node.php - Creates an instance of the plugin.
- NodeServiceProvider::register in core/
modules/ node/ src/ NodeServiceProvider.php - Registers services to the container.
- PackageManagerBypassServiceProvider::alter in core/
modules/ package_manager/ tests/ modules/ package_manager_bypass/ src/ PackageManagerBypassServiceProvider.php - Modifies existing service definitions.
- PackageManagerTestValidationServiceProvider::alter in core/
modules/ package_manager/ tests/ modules/ package_manager_test_validation/ src/ PackageManagerTestValidationServiceProvider.php - Modifies existing service definitions.
- Page::create in core/
modules/ views/ src/ Plugin/ views/ display/ Page.php - Creates an instance of the plugin.
- PathPluginBase::create in core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php - Creates an instance of the plugin.
- PhpExtensionsValidatorTest::testPhpExtensionsValidation in core/
modules/ package_manager/ tests/ src/ Kernel/ PhpExtensionsValidatorTest.php - Tests that PHP extensions' status are checked by Package Manager.
- ProjectInfoTest::testNewProject in core/
modules/ package_manager/ tests/ src/ Kernel/ ProjectInfoTest.php - Tests a project that is not in the codebase.
- RendererBubblingTest::testBubblingWithPrerender in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - Tests bubbling of bubbleable metadata added by #pre_render callbacks.
- RestExport::create in core/
modules/ rest/ src/ Plugin/ views/ display/ RestExport.php - Creates an instance of the plugin.
- ReviewForm::create in core/
modules/ migrate_drupal_ui/ src/ Form/ ReviewForm.php - Instantiates a new instance of this class.
- SecurityAdvisoryTest::assertServiceAdvisoryLoggedErrors in core/
modules/ system/ tests/ src/ Functional/ SecurityAdvisories/ SecurityAdvisoryTest.php - Asserts the expected error messages were logged on the system logger.
- SiteMaintenanceModeForm::create in core/
modules/ system/ src/ Form/ SiteMaintenanceModeForm.php - Instantiates a new instance of this class.
- SqlBase::create in core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SqlBase.php - Creates an instance of the plugin.
- SqlContentEntityStorageSchemaTest::testGetSchemaBase in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ SqlContentEntityStorageSchemaTest.php - Tests the schema for non-revisionable, non-translatable entities.
- State::__construct in core/
lib/ Drupal/ Core/ State/ State.php - Constructs a State object.
- TableDragTest::setUp in core/
tests/ Drupal/ FunctionalJavascriptTests/ TableDrag/ TableDragTest.php - TableDragTestForm::create in core/
modules/ system/ tests/ modules/ tabledrag_test/ src/ Form/ TableDragTestForm.php - Instantiates a new instance of this class.
- TaxonomyQueryAlterTest::assertQueryTagTestResult in core/
modules/ taxonomy/ tests/ src/ Kernel/ TaxonomyQueryAlterTest.php - Verifies invocation of the hooks in the test module.
- TaxonomyQueryAlterTest::setupQueryTagTestHooks in core/
modules/ taxonomy/ tests/ src/ Kernel/ TaxonomyQueryAlterTest.php - Sets up the hooks in the test module.
- TaxonomyTermPagerTest::testTaxonomyTermOverviewTermLoad in core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyTermPagerTest.php - Tests that overview page only loads the necessary terms.
- TermParentsTest::setUp in core/
modules/ taxonomy/ tests/ src/ Functional/ TermParentsTest.php - TestAccessBlock::create in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestAccessBlock.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.
- ThemeInfoTest::setUp in core/
modules/ system/ tests/ src/ Functional/ Theme/ ThemeInfoTest.php - TranslateFormBase::create in core/
modules/ locale/ src/ Form/ TranslateFormBase.php - Instantiates a new instance of this class.
- TranslationStatusForm::create in core/
modules/ locale/ src/ Form/ TranslationStatusForm.php - Instantiates a new instance of this class.
- UpdateManagerUpdate::create in core/
modules/ update/ src/ Form/ UpdateManagerUpdate.php - Instantiates a new instance of this class.
- UpdateReady::create in core/
modules/ update/ src/ Form/ UpdateReady.php - Instantiates a new instance of this class.
- ViewRenderTest::testRender in core/
modules/ views/ tests/ src/ Kernel/ ViewRenderTest.php - Tests render functionality.
- ViewsEntitySchemaSubscriberIntegrationTest::setUp in core/
modules/ views/ tests/ src/ Kernel/ EventSubscriber/ ViewsEntitySchemaSubscriberIntegrationTest.php - ViewsKernelTestBase::setUpFixtures in core/
modules/ views/ tests/ src/ Kernel/ ViewsKernelTestBase.php - Sets up the configuration and schema of views and views_test_data modules.
- ViewsLocalTask::create in core/
modules/ views/ src/ Plugin/ Derivative/ ViewsLocalTask.php - Creates a new class instance.
- ViewsTestDataViewsHooks::viewsData in core/
modules/ views/ tests/ modules/ views_test_data/ src/ Hook/ ViewsTestDataViewsHooks.php - Implements hook_views_data().
- views_test_data_views_data in core/
modules/ views/ tests/ modules/ views_test_data/ views_test_data.views.inc - Implements hook_views_data().
- WorkflowEditForm::form in core/
modules/ workflows/ src/ Form/ WorkflowEditForm.php - Gets the actual form array to be built.
- WorkflowStateAddForm::save in core/
modules/ workflows/ src/ Form/ WorkflowStateAddForm.php - Form submission handler for the 'save' action.
- WorkflowStateEditForm::form in core/
modules/ workflows/ src/ Form/ WorkflowStateEditForm.php - Gets the actual form array to be built.
- WorkflowStateEditForm::save in core/
modules/ workflows/ src/ Form/ WorkflowStateEditForm.php - Form submission handler for the 'save' action.
- WorkflowStateEditForm::validateForm in core/
modules/ workflows/ src/ Form/ WorkflowStateEditForm.php - Form validation handler.
- WorkflowTypeStateFormBase::submitConfigurationForm in core/
modules/ workflows/ src/ Plugin/ WorkflowTypeStateFormBase.php - Form submission handler.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.