Skip to content
Snippets Groups Projects
Commit 75966753 authored by catch's avatar catch
Browse files

Issue #3189101 by paulocs, ranjith_kumar_k_u: Update documented links from form.api.php

parent 36409a31
Branches
Tags
6 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!1012Issue #3226887: Hreflang on non-canonical content pages,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10,!596Issue #3046532: deleting an entity reference field, used in a contextual view, makes the whole site unrecoverable,!496Issue #2463967: Use .user.ini file for PHP settings,!16Draft: Resolve #2081585 "History storage"
......@@ -169,7 +169,7 @@ function hook_ajax_render_alter(array &$data) {
* $form_state->getFormObject()->getEntity().
*
* Implementations are responsible for adding cache contexts/tags/max-age as
* needed. See https://www.drupal.org/developing/api/8/cache.
* needed. See https://www.drupal.org/docs/8/api/cache-api/cache-api.
*
* In addition to hook_form_alter(), which is called for all forms, there are
* two more specific form hooks available. The first,
......@@ -220,7 +220,7 @@ function hook_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_stat
* Provide a form-specific alteration instead of the global hook_form_alter().
*
* Implementations are responsible for adding cache contexts/tags/max-age as
* needed. See https://www.drupal.org/developing/api/8/cache.
* needed. See https://www.drupal.org/docs/8/api/cache-api/cache-api.
*
* Modules can implement hook_form_FORM_ID_alter() to modify a specific form,
* rather than implementing hook_form_alter() and checking the form ID, or
......@@ -263,7 +263,7 @@ function hook_form_FORM_ID_alter(&$form, \Drupal\Core\Form\FormStateInterface $f
* Provide a form-specific alteration for shared ('base') forms.
*
* Implementations are responsible for adding cache contexts/tags/max-age as
* needed. See https://www.drupal.org/developing/api/8/cache.
* needed. See https://www.drupal.org/docs/8/api/cache-api/cache-api.
*
* By default, when \Drupal::formBuilder()->getForm() is called, Drupal looks
* for a function with the same name as the form ID, and uses that function to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment