Commit 90a3498f authored by jhodgdon's avatar jhodgdon

Issue #2290325 by cs_shadow: Get rid of form builder functions topic and references to it

parent 70cbab7d
...@@ -17,24 +17,6 @@ ...@@ -17,24 +17,6 @@
use Drupal\Core\Utility\Color; use Drupal\Core\Utility\Color;
use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\RedirectResponse;
/**
* @defgroup forms Form builder functions
* @{
* Functions that build an abstract representation of a HTML form.
*
* All modules should declare their form builder functions to be in this
* group and each builder function should reference its validate and submit
* functions using \@see. Conversely, validate and submit functions should
* reference the form builder function using \@see. For examples, of this see
* system_modules_uninstall() or user_pass(), the latter of which has the
* following in its doxygen documentation:
* - \@ingroup forms
* - \@see user_pass_validate()
* - \@see user_pass_submit()
*
* @}
*/
/** /**
* @defgroup form_api Form generation * @defgroup form_api Form generation
* @{ * @{
......
...@@ -164,7 +164,6 @@ function color_get_palette($theme, $default = FALSE) { ...@@ -164,7 +164,6 @@ function color_get_palette($theme, $default = FALSE) {
* *
* @see color_scheme_form_validate() * @see color_scheme_form_validate()
* @see color_scheme_form_submit() * @see color_scheme_form_submit()
* @ingroup forms
*/ */
function color_scheme_form($complete_form, &$form_state, $theme) { function color_scheme_form($complete_form, &$form_state, $theme) {
$base = drupal_get_path('module', 'color'); $base = drupal_get_path('module', 'color');
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
* The image upload settings form. * The image upload settings form.
* *
* @see \Drupal\editor\Form\EditorImageDialog * @see \Drupal\editor\Form\EditorImageDialog
* @ingroup forms
*/ */
function editor_image_upload_settings_form(Editor $editor) { function editor_image_upload_settings_form(Editor $editor) {
// Defaults. // Defaults.
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
* *
* @see file_module_test_menu() * @see file_module_test_menu()
* @see file_module_test_form_submit() * @see file_module_test_form_submit()
* @ingroup forms
* *
* @deprecated Use \Drupal\file_module_test\Form\FileModuleTestForm::managedFileTest() * @deprecated Use \Drupal\file_module_test\Form\FileModuleTestForm::managedFileTest()
*/ */
......
...@@ -70,8 +70,6 @@ public function getFormID() { ...@@ -70,8 +70,6 @@ public function getFormID() {
/** /**
* Form constructor for the translation import screen. * Form constructor for the translation import screen.
*
* @ingroup forms
*/ */
public function buildForm(array $form, array &$form_state) { public function buildForm(array $form, array &$form_state) {
$languages = $this->languageManager->getLanguages(); $languages = $this->languageManager->getLanguages();
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
* @return * @return
* An array representing the form definition. * An array representing the form definition.
* *
* @ingroup forms
* @see shortcut_set_switch_validate() * @see shortcut_set_switch_validate()
* @see shortcut_set_switch_submit() * @see shortcut_set_switch_submit()
* *
......
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
/** /**
* Form to select the administration theme. * Form to select the administration theme.
*
* @ingroup forms
*/ */
class ThemeAdminForm extends FormBase { class ThemeAdminForm extends FormBase {
......
...@@ -1159,7 +1159,6 @@ function form_test_number($form, &$form_state, $element = 'number') { ...@@ -1159,7 +1159,6 @@ function form_test_number($form, &$form_state, $element = 'number') {
* Form constructor for testing #type 'range' elements. * Form constructor for testing #type 'range' elements.
* *
* @see form_test_range_submit() * @see form_test_range_submit()
* @ingroup forms
* *
* @deprecated Use \Drupal\form_test\testRange() * @deprecated Use \Drupal\form_test\testRange()
*/ */
...@@ -1208,8 +1207,6 @@ function form_test_range($form, &$form_state) { ...@@ -1208,8 +1207,6 @@ function form_test_range($form, &$form_state) {
/** /**
* Form constructor for testing invalid #type 'range' elements. * Form constructor for testing invalid #type 'range' elements.
* *
* @ingroup forms
*
* @deprecated Use \Drupal\form_test\testRangeInvalid() * @deprecated Use \Drupal\form_test\testRangeInvalid()
*/ */
function form_test_range_invalid($form, &$form_state) { function form_test_range_invalid($form, &$form_state) {
...@@ -1231,7 +1228,6 @@ function form_test_range_invalid($form, &$form_state) { ...@@ -1231,7 +1228,6 @@ function form_test_range_invalid($form, &$form_state) {
* Form constructor for testing #type 'color' elements. * Form constructor for testing #type 'color' elements.
* *
* @see form_test_color_submit() * @see form_test_color_submit()
* @ingroup forms
* *
* @deprecated Use \Drupal\form_test\testColor() * @deprecated Use \Drupal\form_test\testColor()
*/ */
...@@ -1331,7 +1327,6 @@ function form_test_checkboxes_radios($form, &$form_state, $customize = FALSE) { ...@@ -1331,7 +1327,6 @@ function form_test_checkboxes_radios($form, &$form_state, $customize = FALSE) {
* Form constructor for testing #type 'email' elements. * Form constructor for testing #type 'email' elements.
* *
* @see form_test_email_submit() * @see form_test_email_submit()
* @ingroup forms
* *
* @deprecated Use \Drupal\form_test\testEmail() * @deprecated Use \Drupal\form_test\testEmail()
*/ */
...@@ -1359,7 +1354,6 @@ function form_test_email($form, &$form_state) { ...@@ -1359,7 +1354,6 @@ function form_test_email($form, &$form_state) {
* Form constructor for testing #type 'url' elements. * Form constructor for testing #type 'url' elements.
* *
* @see form_test_url_submit() * @see form_test_url_submit()
* @ingroup forms
* *
* @deprecated Use \Drupal\form_test\testUrl() * @deprecated Use \Drupal\form_test\testUrl()
*/ */
......
...@@ -62,7 +62,6 @@ ...@@ -62,7 +62,6 @@
* @see update_manager_update_form_validate() * @see update_manager_update_form_validate()
* @see update_manager_update_form_submit() * @see update_manager_update_form_submit()
* @see update_menu() * @see update_menu()
* @ingroup forms
* *
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0. Use * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0. Use
* \Drupal\update\Form\UpdateForm::reportUpdate() or * \Drupal\update\Form\UpdateForm::reportUpdate() or
...@@ -397,7 +396,6 @@ function update_manager_download_batch_finished($success, $results) { ...@@ -397,7 +396,6 @@ function update_manager_download_batch_finished($success, $results) {
* *
* @see update_manager_update_ready_form_submit() * @see update_manager_update_ready_form_submit()
* @see update_menu() * @see update_menu()
* @ingroup forms
*/ */
function update_manager_update_ready_form($form, &$form_state) { function update_manager_update_ready_form($form, &$form_state) {
if (!_update_manager_check_backends($form, 'update')) { if (!_update_manager_check_backends($form, 'update')) {
...@@ -511,7 +509,6 @@ function update_manager_update_ready_form_submit($form, &$form_state) { ...@@ -511,7 +509,6 @@ function update_manager_update_ready_form_submit($form, &$form_state) {
* @see update_manager_install_form_validate() * @see update_manager_install_form_validate()
* @see update_manager_install_form_submit() * @see update_manager_install_form_submit()
* @see update_menu() * @see update_menu()
* @ingroup forms
* *
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0. Use * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0. Use
* \Drupal\update\Form\UpdateForm::reportInstall() or * \Drupal\update\Form\UpdateForm::reportInstall() or
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment