Search for build
- Search 7.x for build
- Search 8.9.x for build
- Search 10.3.x for build
- Search 11.x for build
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| FormBuilder::$moduleHandler | property | core/ |
The module handler. |
| FormBuilder::$requestStack | property | core/ |
The request stack. |
| FormBuilder::$safeCoreValueCallables | property | core/ |
Defines callables that are safe to run with invalid CSRF tokens. |
| FormBuilder::$themeManager | property | core/ |
The theme manager. |
| FormBuilder::buildForm | function | core/ |
Builds and processes a form for a given form ID. |
| FormBuilder::buildFormAction | function | core/ |
Builds the $form['#action']. |
| FormBuilder::buttonWasClicked | function | core/ |
Determines if a given button triggered the form submission. |
| FormBuilder::currentUser | function | core/ |
Gets the current active user. |
| FormBuilder::deleteCache | function | core/ |
Deletes a form in the cache. |
| FormBuilder::doBuildForm | function | core/ |
Builds and processes all elements in the structured form array. |
| FormBuilder::doSubmitForm | function | core/ |
Handles the submitted form, executing callbacks and processing responses. |
| FormBuilder::elementTriggeredScriptedSubmission | function | core/ |
Detects if an element triggered the form submission via Ajax. |
| FormBuilder::executeSubmitHandlers | function | core/ |
Executes custom submission handlers for a given form. |
| FormBuilder::executeValidateHandlers | function | core/ |
Executes custom validation handlers for a given form. |
| FormBuilder::getCache | function | core/ |
Fetches a form from the cache. |
| FormBuilder::getFileUploadMaxSize | function | core/ |
Wraps file_upload_max_size(). |
| FormBuilder::getForm | function | core/ |
Gets a renderable form array. |
| FormBuilder::getFormId | function | core/ |
Determines the ID of a form. |
| FormBuilder::handleInputElement | function | core/ |
Adds the #name and #value properties of an input element before rendering. |
| FormBuilder::prepareForm | function | core/ |
Prepares a structured form array. |
| FormBuilder::processForm | function | core/ |
Processes a form submission. |
| FormBuilder::rebuildForm | function | core/ |
Constructs a new $form from the information in $form_state. |
| FormBuilder::redirectForm | function | core/ |
Redirects the user to a URL after a form has been processed. |
| FormBuilder::renderFormTokenPlaceholder | function | core/ |
Renders the form CSRF token. It's a #lazy_builder callback. |
| FormBuilder::renderPlaceholderFormAction | function | core/ |
Renders a form action URL. It's a #lazy_builder callback. |
| FormBuilder::retrieveForm | function | core/ |
Retrieves the structured array that defines a given form. |
| FormBuilder::setCache | function | core/ |
Stores a form in the cache. |
| FormBuilder::setInvalidTokenError | function | core/ |
Sets a form_token error on the given form state. |
| FormBuilder::submitForm | function | core/ |
Retrieves, populates, and processes a form. |
| FormBuilder::trustedCallbacks | function | core/ |
Lists the trusted callbacks provided by the implementing class. |
| FormBuilder::validateForm | function | core/ |
Validates user-submitted form data in the $form_state. |
| FormBuilder::valueCallableIsSafe | function | core/ |
Helper function to normalize the different callable formats. |
| FormBuilder::__construct | function | core/ |
Constructs a new FormBuilder. |
| FormBuilderInterface | interface | core/ |
Provides an interface for form building and processing. |
| FormBuilderInterface.php | file | core/ |
|
| FormBuilderInterface::AJAX_FORM_REQUEST | constant | core/ |
Request key for AJAX forms that submit to the form's original route. |
| FormBuilderInterface::buildForm | function | core/ |
Builds and processes a form for a given form ID. |
| FormBuilderInterface::doBuildForm | function | core/ |
Builds and processes all elements in the structured form array. |
| FormBuilderInterface::getForm | function | core/ |
Gets a renderable form array. |
| FormBuilderInterface::getFormId | function | core/ |
Determines the ID of a form. |
| FormBuilderInterface::prepareForm | function | core/ |
Prepares a structured form array. |
| FormBuilderInterface::processForm | function | core/ |
Processes a form submission. |
| FormBuilderInterface::rebuildForm | function | core/ |
Constructs a new $form from the information in $form_state. |
| FormBuilderInterface::retrieveForm | function | core/ |
Retrieves the structured array that defines a given form. |
| FormBuilderInterface::submitForm | function | core/ |
Retrieves, populates, and processes a form. |
| FormBuilderTest | class | core/ |
@coversDefaultClass \Drupal\Core\Form\FormBuilder[[api-linebreak]] @group Form |
| FormBuilderTest.php | file | core/ |
Contains \Drupal\Tests\Core\Form\FormBuilderTest. |
| FormBuilderTest::$container | property | core/ |
The dependency injection container. |
| FormBuilderTest::formStateResponseProvider | function | core/ |
Provides test data for testHandleFormStateResponse(). |
| FormBuilderTest::providerTestBuildFormWithTriggeringElement | function | core/ |
Data provider for ::testBuildFormWithTriggeringElement(). |
Pagination
- Previous page
- Page 23
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.