Search for form

  1. Search 7.x for form
  2. Search 9.5.x for form
  3. Search 8.9.x for form
  4. Search 10.3.x for form
  5. Search 11.x for form
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Form class core/modules/system/tests/modules/router_test_directory/src/Form.php Form to test _form routing.
Form class core/lib/Drupal/Core/Render/Element/Form.php Provides a render element for a form.

All search results

Title Object type File name Summary
WorkspaceMergeForm::$sourceWorkspace property core/modules/workspaces_ui/src/Form/WorkspaceMergeForm.php The source workspace entity.
WorkspaceMergeForm::$targetWorkspace property core/modules/workspaces_ui/src/Form/WorkspaceMergeForm.php The target workspace entity.
WorkspaceMergeForm::$workspaceOperationFactory property core/modules/workspaces_ui/src/Form/WorkspaceMergeForm.php The workspace operation factory.
WorkspaceMergeForm::buildForm function core/modules/workspaces_ui/src/Form/WorkspaceMergeForm.php Form constructor.
WorkspaceMergeForm::create function core/modules/workspaces_ui/src/Form/WorkspaceMergeForm.php Instantiates a new instance of the implementing class using autowiring.
WorkspaceMergeForm::getCancelUrl function core/modules/workspaces_ui/src/Form/WorkspaceMergeForm.php Returns the route to go to if the user cancels the action.
WorkspaceMergeForm::getDescription function core/modules/workspaces_ui/src/Form/WorkspaceMergeForm.php Returns additional text to display as a description.
WorkspaceMergeForm::getFormId function core/modules/workspaces_ui/src/Form/WorkspaceMergeForm.php Returns a unique string identifying the form.
WorkspaceMergeForm::getQuestion function core/modules/workspaces_ui/src/Form/WorkspaceMergeForm.php Returns the question to ask the user.
WorkspaceMergeForm::submitForm function core/modules/workspaces_ui/src/Form/WorkspaceMergeForm.php Form submission handler.
WorkspaceMergeForm::__construct function core/modules/workspaces_ui/src/Form/WorkspaceMergeForm.php Constructs a new WorkspaceMergeForm.
WorkspacePublisherTest::testSubmitFormWithException function core/modules/workspaces/tests/src/Kernel/WorkspacePublisherTest.php Tests submit form with exception.
WorkspacePublishForm class core/modules/workspaces_ui/src/Form/WorkspacePublishForm.php Provides the workspace publishing form.
WorkspacePublishForm.php file core/modules/workspaces_ui/src/Form/WorkspacePublishForm.php
WorkspacePublishForm::$entityTypeManager property core/modules/workspaces_ui/src/Form/WorkspacePublishForm.php The entity type manager.
WorkspacePublishForm::$workspace property core/modules/workspaces_ui/src/Form/WorkspacePublishForm.php The workspace that will be published.
WorkspacePublishForm::$workspaceOperationFactory property core/modules/workspaces_ui/src/Form/WorkspacePublishForm.php The workspace operation factory.
WorkspacePublishForm::buildForm function core/modules/workspaces_ui/src/Form/WorkspacePublishForm.php Form constructor.
WorkspacePublishForm::create function core/modules/workspaces_ui/src/Form/WorkspacePublishForm.php Instantiates a new instance of the implementing class using autowiring.
WorkspacePublishForm::getCancelUrl function core/modules/workspaces_ui/src/Form/WorkspacePublishForm.php Returns the route to go to if the user cancels the action.
WorkspacePublishForm::getDescription function core/modules/workspaces_ui/src/Form/WorkspacePublishForm.php Returns additional text to display as a description.
WorkspacePublishForm::getFormId function core/modules/workspaces_ui/src/Form/WorkspacePublishForm.php Returns a unique string identifying the form.
WorkspacePublishForm::getQuestion function core/modules/workspaces_ui/src/Form/WorkspacePublishForm.php Returns the question to ask the user.
WorkspacePublishForm::submitForm function core/modules/workspaces_ui/src/Form/WorkspacePublishForm.php Form submission handler.
WorkspacePublishForm::__construct function core/modules/workspaces_ui/src/Form/WorkspacePublishForm.php Constructs a new WorkspacePublishForm.
workspaces.controller.entity_form service core/modules/workspaces/workspaces.services.yml Drupal\workspaces\Controller\WorkspacesHtmlEntityFormController
workspaces.information service core/modules/workspaces/workspaces.services.yml Drupal\workspaces\WorkspaceInformation
WorkspaceSafeFormInterface interface core/lib/Drupal/Core/Form/WorkspaceSafeFormInterface.php Defines an interface for forms that are safe to be submitted in a workspace.
WorkspaceSafeFormInterface.php file core/lib/Drupal/Core/Form/WorkspaceSafeFormInterface.php
WorkspaceSafeFormTrait trait core/lib/Drupal/Core/Entity/Form/WorkspaceSafeFormTrait.php Provides helpers for checking whether objects in forms are workspace-safe.
WorkspaceSafeFormTrait trait core/modules/layout_builder/src/Form/WorkspaceSafeFormTrait.php Provides a trait that marks Layout Builder forms as workspace-safe.
WorkspaceSafeFormTrait.php file core/modules/layout_builder/src/Form/WorkspaceSafeFormTrait.php
WorkspaceSafeFormTrait.php file core/lib/Drupal/Core/Entity/Form/WorkspaceSafeFormTrait.php
WorkspaceSafeFormTrait::$workspaceInfo property core/lib/Drupal/Core/Entity/Form/WorkspaceSafeFormTrait.php The workspace information service.
WorkspaceSafeFormTrait::getSectionStorageFromFormState function core/modules/layout_builder/src/Form/WorkspaceSafeFormTrait.php Retrieves the section storage from a form state object, if it exists.
WorkspaceSafeFormTrait::getWorkspaceInfo function core/lib/Drupal/Core/Entity/Form/WorkspaceSafeFormTrait.php Retrieves the workspace information service.
WorkspaceSafeFormTrait::isWorkspaceSafeEntity function core/lib/Drupal/Core/Entity/Form/WorkspaceSafeFormTrait.php Determines whether an entity used in a form is workspace-safe.
WorkspaceSafeFormTrait::isWorkspaceSafeEntityType function core/lib/Drupal/Core/Entity/Form/WorkspaceSafeFormTrait.php Determines whether an entity type used in a form is workspace-safe.
WorkspaceSafeFormTrait::isWorkspaceSafeForm function core/modules/layout_builder/src/Form/WorkspaceSafeFormTrait.php Determines whether the current form is safe to be submitted in a workspace.
WorkspaceSelection::buildConfigurationForm function core/modules/workspaces/src/Plugin/EntityReferenceSelection/WorkspaceSelection.php Form constructor.
WorkspacesHtmlEntityFormController class core/modules/workspaces/src/Controller/WorkspacesHtmlEntityFormController.php Overrides the entity form controller service for workspaces operations.
WorkspacesHtmlEntityFormController.php file core/modules/workspaces/src/Controller/WorkspacesHtmlEntityFormController.php
WorkspacesHtmlEntityFormController::getContentResult function core/modules/workspaces/src/Controller/WorkspacesHtmlEntityFormController.php Invokes the form and returns the result.
WorkspacesHtmlEntityFormController::getFormArgument function core/modules/workspaces/src/Controller/WorkspacesHtmlEntityFormController.php Extracts the form argument string from a request.
WorkspacesHtmlEntityFormController::getFormObject function core/modules/workspaces/src/Controller/WorkspacesHtmlEntityFormController.php Returns the object used to build the form.
WorkspacesHtmlEntityFormController::__construct function core/modules/workspaces/src/Controller/WorkspacesHtmlEntityFormController.php Constructs a new \Drupal\Core\Controller\FormController object.
WorkspaceSwitcherBlock::$formBuilder property core/modules/workspaces_ui/src/Plugin/Block/WorkspaceSwitcherBlock.php The form builder.
WorkspaceSwitcherForm class core/modules/workspaces_ui/src/Form/WorkspaceSwitcherForm.php Provides a form that activates a different workspace.
WorkspaceSwitcherForm.php file core/modules/workspaces_ui/src/Form/WorkspaceSwitcherForm.php
WorkspaceSwitcherForm::$messenger property core/modules/workspaces_ui/src/Form/WorkspaceSwitcherForm.php The messenger service.

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