In previous versions of Drupal, the Form Builder Functions topic in api.drupal.org gave a handy list of form builder functions.
In Drupal 8, we pretty much don't have these any more, so
https://api.drupal.org/api/drupal/core!includes!form.inc/group/forms/8
is pretty much empty.
So, we should remove this topic and all references to it.
To find the documentation that defines it, and the references to it, look for any of the following in Drupal 8 code:
@defgroup forms
@ingroup forms
@addtogroup forms
@link forms
@see forms
The entire doc block with the @defgroup in it should be removed. The other references should just be removed from their doc blocks.
Comment | File | Size | Author |
---|---|---|---|
#1 | drupal-2290325-1.patch | 6.37 KB | cs_shadow |
Comments
Comment #1
cs_shadow CreditAttribution: cs_shadow commentedComment #2
cs_shadow CreditAttribution: cs_shadow commentedRemoved instances of
@defgroup forms
and@ingroup forms
. No instances of@addtogroup forms
,@link forms
and@see forms
.Comment #3
joachim CreditAttribution: joachim commentedWe do still have form builders in Drupal though -- they're just classes now, right?
That said, I have always wondered what the point was of having a topic that listed all of Drupal's forms.
Comment #4
cs_shadow CreditAttribution: cs_shadow commented@joachim, Yes. Form builders are classes in D8. This is the FormBuilder class: \Drupal\Core\Form\FormBuilder (https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Form%21Fo...)
Comment #5
jhodgdonLooks good, thanks! And yes, the point of this issue is that the topic is not needed. You can look at the class hierarchic of FormBuilder to discover form classes instead.
Comment #6
jhodgdonThanks again! Committed to 8.x.