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
WorkspaceActivateForm::getCancelUrl function core/modules/workspaces_ui/src/Form/WorkspaceActivateForm.php Returns the route to go to if the user cancels the action.
WorkspaceActivateForm::getDescription function core/modules/workspaces_ui/src/Form/WorkspaceActivateForm.php Returns additional text to display as a description.
WorkspaceActivateForm::getQuestion function core/modules/workspaces_ui/src/Form/WorkspaceActivateForm.php Returns the question to ask the user.
WorkspaceActivateForm::submitForm function core/modules/workspaces_ui/src/Form/WorkspaceActivateForm.php This is the default entity object builder function. It is called before any
other submit handler to build the new entity object to be used by the
following submit handlers. At this point of the form workflow the entity is
validated and the form state…
WorkspaceActivateForm::__construct function core/modules/workspaces_ui/src/Form/WorkspaceActivateForm.php Constructs a new WorkspaceActivateForm.
WorkspaceDeleteForm class core/modules/workspaces_ui/src/Form/WorkspaceDeleteForm.php Provides a form for deleting a workspace.
WorkspaceDeleteForm.php file core/modules/workspaces_ui/src/Form/WorkspaceDeleteForm.php
WorkspaceDeleteForm::$entity property core/modules/workspaces_ui/src/Form/WorkspaceDeleteForm.php The workspace entity.
WorkspaceDeleteForm::$workspaceRepository property core/modules/workspaces_ui/src/Form/WorkspaceDeleteForm.php The workspace repository service.
WorkspaceDeleteForm::$workspaceTracker property core/modules/workspaces_ui/src/Form/WorkspaceDeleteForm.php The workspace tracker service.
WorkspaceDeleteForm::buildForm function core/modules/workspaces_ui/src/Form/WorkspaceDeleteForm.php Form constructor.
WorkspaceDeleteForm::create function core/modules/workspaces_ui/src/Form/WorkspaceDeleteForm.php Instantiates a new instance of the implementing class using autowiring.
WorkspaceDeleteForm::getDescription function core/modules/workspaces_ui/src/Form/WorkspaceDeleteForm.php Returns additional text to display as a description.
WorkspaceDeleteForm::__construct function core/modules/workspaces_ui/src/Form/WorkspaceDeleteForm.php Constructs a WorkspaceDeleteForm object.
WorkspaceDynamicSafeFormInterface interface core/lib/Drupal/Core/Form/WorkspaceDynamicSafeFormInterface.php Defines an interface for forms that can be workspace-safe.
WorkspaceDynamicSafeFormInterface.php file core/lib/Drupal/Core/Form/WorkspaceDynamicSafeFormInterface.php
WorkspaceDynamicSafeFormInterface::isWorkspaceSafeForm function core/lib/Drupal/Core/Form/WorkspaceDynamicSafeFormInterface.php Determines whether the form is safe to be submitted in a workspace.
WorkspaceForm class core/modules/workspaces_ui/src/Form/WorkspaceForm.php Form controller for the workspace edit forms.
WorkspaceForm.php file core/modules/workspaces_ui/src/Form/WorkspaceForm.php
WorkspaceForm::$entity property core/modules/workspaces_ui/src/Form/WorkspaceForm.php The workspace entity.
WorkspaceForm::$workspaceManager property core/modules/workspaces_ui/src/Form/WorkspaceForm.php The workspace manager.
WorkspaceForm::actions function core/modules/workspaces_ui/src/Form/WorkspaceForm.php Returns an array of supported actions for the current entity form.
WorkspaceForm::activate function core/modules/workspaces_ui/src/Form/WorkspaceForm.php Form submission handler for the 'submit' action.
WorkspaceForm::create function core/modules/workspaces_ui/src/Form/WorkspaceForm.php Instantiates a new instance of the implementing class using autowiring.
WorkspaceForm::flagViolations function core/modules/workspaces_ui/src/Form/WorkspaceForm.php Flags violations for the current form.
WorkspaceForm::form function core/modules/workspaces_ui/src/Form/WorkspaceForm.php Gets the actual form array to be built.
WorkspaceForm::getEditedFieldNames function core/modules/workspaces_ui/src/Form/WorkspaceForm.php Gets the names of all fields edited in the form.
WorkspaceForm::save function core/modules/workspaces_ui/src/Form/WorkspaceForm.php Form submission handler for the 'save' action.
WorkspaceFormPersistenceTest class core/modules/workspaces/tests/src/Kernel/WorkspaceFormPersistenceTest.php Tests form persistence for the active workspace.
WorkspaceFormPersistenceTest.php file core/modules/workspaces/tests/src/Kernel/WorkspaceFormPersistenceTest.php
WorkspaceFormPersistenceTest::$entityTypeManager property core/modules/workspaces/tests/src/Kernel/WorkspaceFormPersistenceTest.php The entity type manager.
WorkspaceFormPersistenceTest::$formBuilder property core/modules/workspaces/tests/src/Kernel/WorkspaceFormPersistenceTest.php The form builder.
WorkspaceFormPersistenceTest::$modules property core/modules/workspaces/tests/src/Kernel/WorkspaceFormPersistenceTest.php Modules to install.
WorkspaceFormPersistenceTest::setUp function core/modules/workspaces/tests/src/Kernel/WorkspaceFormPersistenceTest.php
WorkspaceFormPersistenceTest::testFormPersistence function core/modules/workspaces/tests/src/Kernel/WorkspaceFormPersistenceTest.php Tests that the active workspace is persisted throughout a form's lifecycle.
WorkspaceFormValidationTest class core/modules/workspaces/tests/src/Functional/WorkspaceFormValidationTest.php Tests Workspaces form validation.
WorkspaceFormValidationTest.php file core/modules/workspaces/tests/src/Functional/WorkspaceFormValidationTest.php
WorkspaceFormValidationTest::$defaultTheme property core/modules/workspaces/tests/src/Functional/WorkspaceFormValidationTest.php The theme to install as the default for testing.
WorkspaceFormValidationTest::$modules property core/modules/workspaces/tests/src/Functional/WorkspaceFormValidationTest.php Modules to install.
WorkspaceFormValidationTest::setUp function core/modules/workspaces/tests/src/Functional/WorkspaceFormValidationTest.php
WorkspaceFormValidationTest::testValidateLimitErrors function core/modules/workspaces/tests/src/Functional/WorkspaceFormValidationTest.php Tests partial form validation through #limit_validation_errors.
WorkspaceInformation class core/modules/workspaces/src/WorkspaceInformation.php General service for workspace support information.
WorkspaceInformation.php file core/modules/workspaces/src/WorkspaceInformation.php
WorkspaceInformation::$ignored property core/modules/workspaces/src/WorkspaceInformation.php An array of workspace-ignored statuses, keyed by entity type ID.
WorkspaceInformation::$supported property core/modules/workspaces/src/WorkspaceInformation.php An array of workspace-support statuses, keyed by entity type ID.
WorkspaceInformation::getSupportedEntityTypes function core/modules/workspaces/src/WorkspaceInformation.php Returns an array of entity types that can belong to workspaces.
WorkspaceInformation::isEntityDeletable function core/modules/workspaces/src/WorkspaceInformation.php Determines whether an entity can be deleted in the given workspace.
WorkspaceInformation::isEntityIgnored function core/modules/workspaces/src/WorkspaceInformation.php Determines whether CRUD operations for an entity are allowed.
WorkspaceInformation::isEntitySupported function core/modules/workspaces/src/WorkspaceInformation.php Determines whether an entity can belong to a workspace.
WorkspaceInformation::isEntityTypeIgnored function core/modules/workspaces/src/WorkspaceInformation.php Determines whether CRUD operations for an entity type are allowed.

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