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. Other projects

Exact matches

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

All search results

Title Object type File name Summary
EntityForm::copyFormValuesToEntity function core/lib/Drupal/Core/Entity/EntityForm.php Copies top-level form values to entity properties.
EntityForm::form function core/lib/Drupal/Core/Entity/EntityForm.php Gets the actual form array to be built.
EntityForm::getBaseFormId function core/lib/Drupal/Core/Entity/EntityForm.php Returns a string identifying the base form.
EntityForm::getEntity function core/lib/Drupal/Core/Entity/EntityForm.php Gets the form entity.
EntityForm::getEntityFromRouteMatch function core/lib/Drupal/Core/Entity/EntityForm.php Determines which entity will be used by this form from a RouteMatch object.
EntityForm::getFormId function core/lib/Drupal/Core/Entity/EntityForm.php Returns a unique string identifying the form.
EntityForm::getOperation function core/lib/Drupal/Core/Entity/EntityForm.php Gets the operation identifying the form.
EntityForm::init function core/lib/Drupal/Core/Entity/EntityForm.php Initialize the form state and the entity before the first form build.
EntityForm::prepareEntity function core/lib/Drupal/Core/Entity/EntityForm.php Prepares the entity object before the form is built first.
EntityForm::prepareInvokeAll function core/lib/Drupal/Core/Entity/EntityForm.php Invokes the specified prepare hook variant.
EntityForm::processForm function core/lib/Drupal/Core/Entity/EntityForm.php Process callback: assigns weights and hides extra fields.
EntityForm::save function core/lib/Drupal/Core/Entity/EntityForm.php Form submission handler for the 'save' action.
EntityForm::setEntity function core/lib/Drupal/Core/Entity/EntityForm.php Sets the form entity.
EntityForm::setEntityTypeManager function core/lib/Drupal/Core/Entity/EntityForm.php Sets the entity type manager for this form.
EntityForm::setModuleHandler function core/lib/Drupal/Core/Entity/EntityForm.php Sets the module handler for this form.
EntityForm::setOperation function core/lib/Drupal/Core/Entity/EntityForm.php Sets the operation for this form.
EntityForm::submitForm function core/lib/Drupal/Core/Entity/EntityForm.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…
EntityFormBuilder class core/lib/Drupal/Core/Entity/EntityFormBuilder.php Builds entity forms.
EntityFormBuilder.php file core/lib/Drupal/Core/Entity/EntityFormBuilder.php
EntityFormBuilder::$entityTypeManager property core/lib/Drupal/Core/Entity/EntityFormBuilder.php The entity type manager service.
EntityFormBuilder::$formBuilder property core/lib/Drupal/Core/Entity/EntityFormBuilder.php The form builder.
EntityFormBuilder::getForm function core/lib/Drupal/Core/Entity/EntityFormBuilder.php Gets the built and processed entity form for the given entity.
EntityFormBuilder::__construct function core/lib/Drupal/Core/Entity/EntityFormBuilder.php Constructs a new EntityFormBuilder.
EntityFormBuilderInterface interface core/lib/Drupal/Core/Entity/EntityFormBuilderInterface.php Builds entity forms.
EntityFormBuilderInterface.php file core/lib/Drupal/Core/Entity/EntityFormBuilderInterface.php
EntityFormBuilderInterface::getForm function core/lib/Drupal/Core/Entity/EntityFormBuilderInterface.php Gets the built and processed entity form for the given entity.
EntityFormBuilderTest class core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php @coversDefaultClass \Drupal\Core\Entity\EntityFormBuilder[[api-linebreak]]
@group Entity
EntityFormBuilderTest.php file core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php
EntityFormBuilderTest::$entityFormBuilder property core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php The entity form builder.
EntityFormBuilderTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php The entity type manager.
EntityFormBuilderTest::$formBuilder property core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php The form builder.
EntityFormBuilderTest::setUp function core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php
EntityFormBuilderTest::testGetForm function core/tests/Drupal/Tests/Core/Entity/EntityFormBuilderTest.php Tests the getForm() method.
EntityFormDisplay class core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Configuration entity.
EntityFormDisplay.php file core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php
EntityFormDisplay::$displayContext property core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Context in which this entity will be used (e.g. 'view', 'form').
EntityFormDisplay::buildForm function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Adds field widgets to an entity form.
EntityFormDisplay::collectRenderDisplay function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Returns the entity_form_display object used to build an entity form.
EntityFormDisplay::extractFormValues function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Extracts field values from the submitted widget values into the entity.
EntityFormDisplay::flagWidgetsErrorsFromViolations function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Flags entity validation violations as form errors.
EntityFormDisplay::getPluginCollections function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Gets the plugin collections used by this object.
EntityFormDisplay::getRenderer function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Gets the renderer plugin for a field (e.g. widget, formatter).
EntityFormDisplay::movePropertyPathViolationsRelativeToField function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Moves the property path to be relative to field level.
EntityFormDisplay::processForm function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Process callback: assigns weights and hides extra fields.
EntityFormDisplay::validateFormValues function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Validates submitted widget values and sets the corresponding form errors.
EntityFormDisplay::__construct function core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php Constructs an Entity object.
EntityFormDisplayAccessControlHandler class core/lib/Drupal/Core/Entity/Entity/Access/EntityFormDisplayAccessControlHandler.php Provides an entity access control handler for form displays.
EntityFormDisplayAccessControlHandler.php file core/lib/Drupal/Core/Entity/Entity/Access/EntityFormDisplayAccessControlHandler.php
EntityFormDisplayAccessControlHandler::checkAccess function core/lib/Drupal/Core/Entity/Entity/Access/EntityFormDisplayAccessControlHandler.php Performs access checks.
EntityFormDisplayAccessControlHandlerTest class core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php @coversDefaultClass \Drupal\Core\Entity\Entity\Access\EntityFormDisplayAccessControlHandler[[api-linebreak]]
@group Entity

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