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
ViewsModerationStateFilterTest::testStateFilterStatesList function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php Tests the list of states in the filter plugin.
ViewsModerationStateFilterTest::testStateFilterViewsRelationship function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php Tests the content moderation state filter.
ViewsModerationStateFilterTest::testWorkflowChanges function core/modules/content_moderation/tests/src/Functional/ViewsModerationStateFilterTest.php Tests the moderation state filter when the configured workflow is changed.
ViewsModerationStateSortTest class core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php Tests the views moderation_state field sorting integration.
ViewsModerationStateSortTest.php file core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php
ViewsModerationStateSortTest::$modules property core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php Modules to enable.
ViewsModerationStateSortTest::assertSortResults function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php Assert the order of a views sort result.
ViewsModerationStateSortTest::setUp function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php
ViewsModerationStateSortTest::testSortBaseTable function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php Tests sorting with a standard data base table.
ViewsModerationStateSortTest::testSortRevisionBaseTable function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php Tests sorting with the revision base table.
WidgetBase::getWidgetState function core/lib/Drupal/Core/Field/WidgetBase.php Retrieves processing information about the widget from $form_state.
WidgetBase::getWidgetStateParents function core/lib/Drupal/Core/Field/WidgetBase.php Returns the location of processing information within $form_state.
WidgetBase::setWidgetState function core/lib/Drupal/Core/Field/WidgetBase.php Stores processing information about the widget in $form_state.
WidgetBaseInterface::getWidgetState function core/lib/Drupal/Core/Field/WidgetBaseInterface.php Retrieves processing information about the widget from $form_state.
WidgetBaseInterface::setWidgetState function core/lib/Drupal/Core/Field/WidgetBaseInterface.php Stores processing information about the widget in $form_state.
WorkflowCustomStateTransitionAccessTest class core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php Test custom provided workflow access for state/transition operations.
WorkflowCustomStateTransitionAccessTest.php file core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php
WorkflowCustomStateTransitionAccessTest::$adminUser property core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php A test admin user.
WorkflowCustomStateTransitionAccessTest::$defaultTheme property core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php The theme to install as the default for testing.
WorkflowCustomStateTransitionAccessTest::$modules property core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php Modules to enable.
WorkflowCustomStateTransitionAccessTest::$testWorkflow property core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php A test workflow.
WorkflowCustomStateTransitionAccessTest::setUp function core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php
WorkflowCustomStateTransitionAccessTest::testCustomWorkflowAccessOperations function core/modules/workflows/tests/src/Functional/WorkflowCustomStateTransitionAccessTest.php Tests the custom state/transition operation access rules.
WorkflowStateAddForm class core/modules/workflows/src/Form/WorkflowStateAddForm.php Entity form variant for adding workflow states.
WorkflowStateAddForm.php file core/modules/workflows/src/Form/WorkflowStateAddForm.php
WorkflowStateAddForm::$pluginFormFactory property core/modules/workflows/src/Form/WorkflowStateAddForm.php The plugin form factory.
WorkflowStateAddForm::actions function core/modules/workflows/src/Form/WorkflowStateAddForm.php Returns an array of supported actions for the current entity form.
WorkflowStateAddForm::copyFormValuesToEntity function core/modules/workflows/src/Form/WorkflowStateAddForm.php Copies top-level form values to entity properties.
WorkflowStateAddForm::create function core/modules/workflows/src/Form/WorkflowStateAddForm.php Instantiates a new instance of this class.
WorkflowStateAddForm::exists function core/modules/workflows/src/Form/WorkflowStateAddForm.php Determines if the workflow state already exists.
WorkflowStateAddForm::form function core/modules/workflows/src/Form/WorkflowStateAddForm.php Gets the actual form array to be built.
WorkflowStateAddForm::getFormId function core/modules/workflows/src/Form/WorkflowStateAddForm.php Returns a unique string identifying the form.
WorkflowStateAddForm::save function core/modules/workflows/src/Form/WorkflowStateAddForm.php Form submission handler for the 'save' action.
WorkflowStateAddForm::validateForm function core/modules/workflows/src/Form/WorkflowStateAddForm.php Form validation handler.
WorkflowStateAddForm::__construct function core/modules/workflows/src/Form/WorkflowStateAddForm.php Creates an instance of WorkflowStateEditForm.
WorkflowStateDeleteForm class core/modules/workflows/src/Form/WorkflowStateDeleteForm.php Builds the form to delete states from Workflow entities.
WorkflowStateDeleteForm.php file core/modules/workflows/src/Form/WorkflowStateDeleteForm.php
WorkflowStateDeleteForm::$stateId property core/modules/workflows/src/Form/WorkflowStateDeleteForm.php The state being deleted.
WorkflowStateDeleteForm::$workflow property core/modules/workflows/src/Form/WorkflowStateDeleteForm.php The workflow entity the state being deleted belongs to.
WorkflowStateDeleteForm::buildForm function core/modules/workflows/src/Form/WorkflowStateDeleteForm.php Form constructor.
WorkflowStateDeleteForm::getCancelUrl function core/modules/workflows/src/Form/WorkflowStateDeleteForm.php Returns the route to go to if the user cancels the action.
WorkflowStateDeleteForm::getConfirmText function core/modules/workflows/src/Form/WorkflowStateDeleteForm.php Returns a caption for the button that confirms the action.
WorkflowStateDeleteForm::getFormId function core/modules/workflows/src/Form/WorkflowStateDeleteForm.php Returns a unique string identifying the form.
WorkflowStateDeleteForm::getQuestion function core/modules/workflows/src/Form/WorkflowStateDeleteForm.php Returns the question to ask the user.
WorkflowStateDeleteForm::submitForm function core/modules/workflows/src/Form/WorkflowStateDeleteForm.php Form submission handler.
WorkflowStateEditForm class core/modules/workflows/src/Form/WorkflowStateEditForm.php Entity form variant for editing workflow states.
WorkflowStateEditForm.php file core/modules/workflows/src/Form/WorkflowStateEditForm.php
WorkflowStateEditForm::$pluginFormFactory property core/modules/workflows/src/Form/WorkflowStateEditForm.php The plugin form factory.
WorkflowStateEditForm::$stateId property core/modules/workflows/src/Form/WorkflowStateEditForm.php The ID of the state that is being edited.
WorkflowStateEditForm::actions function core/modules/workflows/src/Form/WorkflowStateEditForm.php Returns an array of supported actions for the current entity form.

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