Search for state

  1. Search 7.x for state
  2. Search 8.9.x for state
  3. Search 10.3.x for state
  4. Search 11.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
StateTransitionValidation.php file core/modules/content_moderation/src/StateTransitionValidation.php
StateTransitionValidation::$moderationInfo property core/modules/content_moderation/src/StateTransitionValidation.php The moderation information service.
StateTransitionValidation::$possibleTransitions property core/modules/content_moderation/src/StateTransitionValidation.php Stores the possible state transitions.
StateTransitionValidation::getValidTransitions function core/modules/content_moderation/src/StateTransitionValidation.php Gets a list of transitions that are legal for this user on this entity.
StateTransitionValidation::isTransitionValid function core/modules/content_moderation/src/StateTransitionValidation.php Checks if a transition between two states if valid for the given user.
StateTransitionValidation::__construct function core/modules/content_moderation/src/StateTransitionValidation.php Constructs a new StateTransitionValidation.
StateTransitionValidationInterface interface core/modules/content_moderation/src/StateTransitionValidationInterface.php Validates whether a certain state transition is allowed.
StateTransitionValidationInterface.php file core/modules/content_moderation/src/StateTransitionValidationInterface.php
StateTransitionValidationInterface::getValidTransitions function core/modules/content_moderation/src/StateTransitionValidationInterface.php Gets a list of transitions that are legal for this user on this entity.
StateTransitionValidationInterface::isTransitionValid function core/modules/content_moderation/src/StateTransitionValidationInterface.php Checks if a transition between two states if valid for the given user.
StateTransitionValidationTest class core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php @coversDefaultClass \Drupal\content_moderation\StateTransitionValidation[[api-linebreak]]
@group content_moderation
StateTransitionValidationTest.php file core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php
StateTransitionValidationTest::$workflow property core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php A test workflow.
StateTransitionValidationTest::setUp function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php
StateTransitionValidationTest::testUserSensitiveValidTransitions function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php Verifies user-aware transition validation.
StateTransitionValidationTest::userTransitionsProvider function core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php Data provider for the user transition test.
StateValuesCleanAdvancedTest class core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php Tests the removal of internal Form API elements from submitted form values.
StateValuesCleanAdvancedTest.php file core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php
StateValuesCleanAdvancedTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php The theme to install as the default for testing.
StateValuesCleanAdvancedTest::$image property core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php An image file path for uploading.
StateValuesCleanAdvancedTest::$modules property core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php Modules to enable.
StateValuesCleanAdvancedTest::testFormStateValuesCleanAdvanced function core/modules/system/tests/src/Functional/Form/StateValuesCleanAdvancedTest.php Tests \Drupal\Core\Form\FormState::cleanValues().
StateValuesCleanTest class core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php Tests the proper removal of submitted form values.
StateValuesCleanTest.php file core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php
StateValuesCleanTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php The theme to install as the default for testing.
StateValuesCleanTest::$modules property core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php Modules to enable.
StateValuesCleanTest::testFormStateValuesClean function core/modules/system/tests/src/Functional/Form/StateValuesCleanTest.php Tests \Drupal\Core\Form\FormState::cleanValues().
StaticReflectionClass::getUseStatements function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php
StaticReflectionParser::$useStatements property core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php The use statements of the class.
StaticReflectionParser::getUseStatements function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php Gets the use statements from this file.
StubConnection::$statementClass property core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php
StubConnection::$statementWrapperClass property core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php
SubformState class core/lib/Drupal/Core/Form/SubformState.php Stores information about the state of a subform.
SubformState.php file core/lib/Drupal/Core/Form/SubformState.php
SubformState::$parentForm property core/lib/Drupal/Core/Form/SubformState.php The parent form.
SubformState::$subform property core/lib/Drupal/Core/Form/SubformState.php The subform.
SubformState::createForSubform function core/lib/Drupal/Core/Form/SubformState.php Creates a new instance for a subform.
SubformState::getCompleteFormState function core/lib/Drupal/Core/Form/SubformState.php
SubformState::getLimitValidationErrors function core/lib/Drupal/Core/Form/SubformState.php
SubformState::getParents function core/lib/Drupal/Core/Form/SubformState.php Gets the subform's parents relative to its parent form.
SubformState::getValues function core/lib/Drupal/Core/Form/SubformState.php
SubformState::setErrorByName function core/lib/Drupal/Core/Form/SubformState.php
SubformState::setLimitValidationErrors function core/lib/Drupal/Core/Form/SubformState.php
SubformState::__construct function core/lib/Drupal/Core/Form/SubformState.php Constructs a new instance.
SubformStateInterface interface core/lib/Drupal/Core/Form/SubformStateInterface.php Stores information about the state of a subform.
SubformStateInterface.php file core/lib/Drupal/Core/Form/SubformStateInterface.php
SubformStateInterface::getCompleteFormState function core/lib/Drupal/Core/Form/SubformStateInterface.php Gets the complete form state.
SubformStateTest class core/tests/Drupal/Tests/Core/Form/SubformStateTest.php @coversDefaultClass \Drupal\Core\Form\SubformState[[api-linebreak]]
SubformStateTest.php file core/tests/Drupal/Tests/Core/Form/SubformStateTest.php
SubformStateTest::$formStateValues property core/tests/Drupal/Tests/Core/Form/SubformStateTest.php The form state's values test fixture.

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