Search for state

  1. Search 7.x for state
  2. Search 9.5.x for state
  3. Search 8.9.x for state
  4. Search 10.3.x for state
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
State class core/modules/workflows/src/State.php A value object representing a workflow state.
state service core/core.services.yml Drupal\Core\State\State
State class core/lib/Drupal/Core/State/State.php Provides the state system using a key value store.

All search results

Title Object type File name Summary
HelpTestTwigNodeVisitor::getState function core/modules/help/tests/modules/help_topics_twig_tester/src/HelpTestTwigNodeVisitor.php Returns the state information.
HelpTestTwigNodeVisitor::setStateValue function core/modules/help/tests/modules/help_topics_twig_tester/src/HelpTestTwigNodeVisitor.php Sets state information.
HelpTestTwigNodeVisitor::STATE_NAME constant core/modules/help/tests/modules/help_topics_twig_tester/src/HelpTestTwigNodeVisitor.php Name used in \Drupal::state() for saving state information.
http_middleware.ajax_page_state service core/core.services.yml Drupal\Core\StackMiddleware\AjaxPageState
IconPackExtractorFormTest::$formState property core/tests/Drupal/Tests/Core/Theme/Icon/IconPackExtractorFormTest.php The form state.
InitialStateTest class core/modules/content_moderation/tests/src/Kernel/InitialStateTest.php Tests the correct initial states are set on install.
InitialStateTest.php file core/modules/content_moderation/tests/src/Kernel/InitialStateTest.php
InitialStateTest::$modules property core/modules/content_moderation/tests/src/Kernel/InitialStateTest.php Modules to install.
InitialStateTest::setUp function core/modules/content_moderation/tests/src/Kernel/InitialStateTest.php
InitialStateTest::testInitialState function core/modules/content_moderation/tests/src/Kernel/InitialStateTest.php Tests the correct initial state.
InstallHelper::$state property core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php State.
install_state_defaults function core/includes/install.core.inc Returns an array of default settings for the global installation state.
JavascriptStatesForm class core/modules/system/tests/modules/form_test/src/Form/JavascriptStatesForm.php Builds a simple form to test states.
JavascriptStatesForm.php file core/modules/system/tests/modules/form_test/src/Form/JavascriptStatesForm.php
JavascriptStatesForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/JavascriptStatesForm.php Form constructor.
JavascriptStatesForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/JavascriptStatesForm.php Returns a unique string identifying the form.
JavascriptStatesForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/JavascriptStatesForm.php Form submission handler.
JavascriptStatesTest class core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests the state of elements based on another elements.
JavascriptStatesTest.php file core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php
JavascriptStatesTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php The theme to install as the default for testing.
JavascriptStatesTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Modules to install.
JavascriptStatesTest::doCheckboxesTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of elements triggered by a checkboxes element.
JavascriptStatesTest::doCheckboxTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of elements triggered by a checkbox element.
JavascriptStatesTest::doElementsDisabledStateTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests the submit button, select and textarea disabled states.
JavascriptStatesTest::doMultipleSelectTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of elements triggered by a multiple select element.
JavascriptStatesTest::doMultipleTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of elements triggered by multiple elements.
JavascriptStatesTest::doNestedTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of radios element triggered by other radios element.
JavascriptStatesTest::doRadiosTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of elements triggered by a radios element.
JavascriptStatesTest::doSelectTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of elements triggered by a select element.
JavascriptStatesTest::doTextfieldTriggerTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests states of elements triggered by a textfield element.
JavascriptStatesTest::setUp function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php
JavascriptStatesTest::testJavascriptStates function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests the JavaScript #states functionality of form elements.
LanguageInterface::STATE_ALL constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state used when referring to all languages.
LanguageInterface::STATE_CONFIGURABLE constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state when referring to configurable languages.
LanguageInterface::STATE_LOCKED constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state when referring to locked languages.
LanguageInterface::STATE_SITE_DEFAULT constant core/lib/Drupal/Core/Language/LanguageInterface.php The language state used when referring to the site's default language.
LanguageListTest::testLanguageStates function core/modules/language/tests/src/Functional/LanguageListTest.php Functional tests for the language states (locked or configurable).
LanguageTestBase::$state property core/modules/language/tests/src/Kernel/LanguageTestBase.php The state storage service.
LinkFieldFormStatesTest class core/modules/link/tests/src/FunctionalJavascript/LinkFieldFormStatesTest.php Tests link field form states functionality.
LinkFieldFormStatesTest.php file core/modules/link/tests/src/FunctionalJavascript/LinkFieldFormStatesTest.php
LinkFieldFormStatesTest::$defaultTheme property core/modules/link/tests/src/FunctionalJavascript/LinkFieldFormStatesTest.php The theme to install as the default for testing.
LinkFieldFormStatesTest::$modules property core/modules/link/tests/src/FunctionalJavascript/LinkFieldFormStatesTest.php Modules to install.
LinkFieldFormStatesTest::linkFieldFormStatesData function core/modules/link/tests/src/FunctionalJavascript/LinkFieldFormStatesTest.php Provides data for ::testLinkFieldJSFormStates.
LinkFieldFormStatesTest::setUp function core/modules/link/tests/src/FunctionalJavascript/LinkFieldFormStatesTest.php
LinkFieldFormStatesTest::testLinkFieldFormStates function core/modules/link/tests/src/FunctionalJavascript/LinkFieldFormStatesTest.php Tests link field form states.
LoggingDecoratorTrait::$state property core/modules/package_manager/tests/modules/package_manager_bypass/src/LoggingDecoratorTrait.php The state service.
MaintenanceMode::$state property core/lib/Drupal/Core/Site/MaintenanceMode.php The state.
MatcherDumperTest::$state property core/tests/Drupal/KernelTests/Core/Routing/MatcherDumperTest.php The state.
MediaLibraryAddFormTest::testFormStateValidation function core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php Tests the validation of the library state in the media library add form.
MediaLibraryState class core/modules/media_library/src/MediaLibraryState.php A value object for the media library state.

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