You are here

69 string references to state in Drupal 9

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.
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
CKEditor::create in core/modules/ckeditor/src/Plugin/Editor/CKEditor.php
Creates an instance of the plugin.
CollectRoutesTest::setUp in core/modules/rest/tests/src/Unit/CollectRoutesTest.php
Color::create in core/modules/color/src/Plugin/migrate/source/d7/Color.php
Creates an instance of the plugin.
ComplexTestTypeStateForm::buildConfigurationForm in core/modules/workflows/tests/modules/workflow_type_test/src/Form/ComplexTestTypeStateForm.php
Form constructor.
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 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.
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
EntityViewsDataTest::setUp in core/modules/views/tests/src/Unit/EntityViewsDataTest.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_topics/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
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.
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
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.
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.
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.
views_test_data_views_data in core/modules/views/tests/modules/views_test_data/views_test_data.views.inc
Implements hook_views_data().
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.