76 string references to 'State'

AliasTest::testWhitelist in core/modules/path_alias/tests/src/Kernel/AliasTest.php
Tests the alias whitelist.
AliasTest::testWhitelistCacheDeletionMidRequest in core/modules/path_alias/tests/src/Kernel/AliasTest.php
Tests situation where the whitelist 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
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
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
core.services.yml in core/core.services.yml
core/core.services.yml
CredentialForm::create in core/modules/migrate_drupal_ui/src/Form/CredentialForm.php
CronForm::create in core/modules/system/src/Form/CronForm.php
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
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
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
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
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
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/d7/Node.php
Creates an instance of the plugin.
Node::create in core/modules/node/src/Plugin/migrate/source/d6/Node.php
Creates an instance of the plugin.
NodeServiceProvider::register in core/modules/node/src/NodeServiceProvider.php
Registers services to the container.
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.
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
ReviewForm::create in core/modules/migrate_drupal_ui/src/Form/ReviewForm.php
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
SqlBase::create in core/modules/migrate/src/Plugin/migrate/source/SqlBase.php
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
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
TestToolkit::create in core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php
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
UpdateReady::create in core/modules/update/src/Form/UpdateReady.php
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.
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
WorkflowStateAddForm::save in core/modules/workflows/src/Form/WorkflowStateAddForm.php
WorkflowStateEditForm::form in core/modules/workflows/src/Form/WorkflowStateEditForm.php
WorkflowStateEditForm::save in core/modules/workflows/src/Form/WorkflowStateEditForm.php
WorkflowStateEditForm::validateForm in core/modules/workflows/src/Form/WorkflowStateEditForm.php
workflows_help in core/modules/workflows/workflows.module
Implements hook_help().
WorkflowTypeStateFormBase::submitConfigurationForm in core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.