Loading core/lib/Drupal/Core/Form/FormBuilderInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -149,7 +149,7 @@ public function rebuildForm($form_id, FormStateInterface &$form_state, $old_form * The value must be one of the following: * - The name of a class that implements \Drupal\Core\Form\FormInterface. * - An instance of a class that implements \Drupal\Core\Form\FormInterface. * @param $form_state * @param \Drupal\Core\Form\FormStateInterface $form_state * The current state of the form. Most important is the * $form_state->getValues() collection, a tree of data used to simulate the * incoming \Drupal::request()->request information from a user's form Loading core/lib/Drupal/Core/Form/FormSubmitterInterface.php +2 −2 Original line number Diff line number Diff line Loading @@ -27,9 +27,9 @@ public function doSubmitForm(&$form, FormStateInterface &$form_state); * Button-specific handlers are checked first. If none exist, the function * falls back to form-level handlers. * * @param $form * @param array $form * An associative array containing the structure of the form. * @param $form_state * @param \Drupal\Core\Form\FormStateInterface $form_state * The current state of the form. If the user submitted the form by clicking * a button with custom handler functions defined, those handlers will be * stored here. Loading core/lib/Drupal/Core/Form/form.api.php +9 −9 Original line number Diff line number Diff line Loading @@ -186,13 +186,13 @@ function hook_ajax_render_alter(array &$data) { * hook_form_FORM_ID_alter(). So, for each module, the more general hooks are * called first followed by the more specific. * * @param $form * @param array $form * Nested array of form elements that comprise the form. * @param $form_state * @param \Drupal\Core\Form\FormStateInterface $form_state * The current state of the form. The arguments that * \Drupal::formBuilder()->getForm() was originally called with are available * in the array $form_state->getBuildInfo()['args']. * @param $form_id * @param string $form_id * A string that is the unique ID of the form, set by * Drupal\Core\Form\FormInterface::getFormId(). * Loading Loading @@ -235,13 +235,13 @@ function hook_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_stat * hook_form_FORM_ID_alter(). So, for each module, the more general hooks are * called first followed by the more specific. * * @param $form * @param array $form * Nested array of form elements that comprise the form. * @param $form_state * @param \Drupal\Core\Form\FormStateInterface $form_state * The current state of the form. The arguments that * \Drupal::formBuilder()->getForm() was originally called with are available * in the array $form_state->getBuildInfo()['args']. * @param $form_id * @param string $form_id * String representing the name of the form itself. Typically this is the * name of the function that generated the form. * Loading Loading @@ -293,11 +293,11 @@ function hook_form_FORM_ID_alter(&$form, \Drupal\Core\Form\FormStateInterface $f * hook_form_FORM_ID_alter(). So, for each module, the more general hooks are * called first followed by the more specific. * * @param $form * @param array $form * Nested array of form elements that comprise the form. * @param $form_state * @param \Drupal\Core\Form\FormStateInterface $form_state * The current state of the form. * @param $form_id * @param string $form_id * String representing the name of the form itself. Typically this is the * name of the function that generated the form. * Loading core/lib/Drupal/Core/Render/Element/FormElementBase.php +1 −1 Original line number Diff line number Diff line Loading @@ -132,7 +132,7 @@ public static function processPattern(&$element, FormStateInterface $form_state, * @param $element * An associative array containing the properties and children of the * generic form element. * @param $form_state * @param \Drupal\Core\Form\FormStateInterface $form_state * The current state of the form. * @param array $complete_form * The complete form structure. Loading core/lib/Drupal/Core/Render/theme.api.php +2 −2 Original line number Diff line number Diff line Loading @@ -525,9 +525,9 @@ * Note that the base theme's form alterations will be run before any sub-theme * alterations. * * @param $form * @param array $form * Nested array of form elements that comprise the form. * @param $form_state * @param \Drupal\Core\Form\FormStateInterface $form_state * The current state of the form. */ function hook_form_system_theme_settings_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state) { Loading Loading
core/lib/Drupal/Core/Form/FormBuilderInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -149,7 +149,7 @@ public function rebuildForm($form_id, FormStateInterface &$form_state, $old_form * The value must be one of the following: * - The name of a class that implements \Drupal\Core\Form\FormInterface. * - An instance of a class that implements \Drupal\Core\Form\FormInterface. * @param $form_state * @param \Drupal\Core\Form\FormStateInterface $form_state * The current state of the form. Most important is the * $form_state->getValues() collection, a tree of data used to simulate the * incoming \Drupal::request()->request information from a user's form Loading
core/lib/Drupal/Core/Form/FormSubmitterInterface.php +2 −2 Original line number Diff line number Diff line Loading @@ -27,9 +27,9 @@ public function doSubmitForm(&$form, FormStateInterface &$form_state); * Button-specific handlers are checked first. If none exist, the function * falls back to form-level handlers. * * @param $form * @param array $form * An associative array containing the structure of the form. * @param $form_state * @param \Drupal\Core\Form\FormStateInterface $form_state * The current state of the form. If the user submitted the form by clicking * a button with custom handler functions defined, those handlers will be * stored here. Loading
core/lib/Drupal/Core/Form/form.api.php +9 −9 Original line number Diff line number Diff line Loading @@ -186,13 +186,13 @@ function hook_ajax_render_alter(array &$data) { * hook_form_FORM_ID_alter(). So, for each module, the more general hooks are * called first followed by the more specific. * * @param $form * @param array $form * Nested array of form elements that comprise the form. * @param $form_state * @param \Drupal\Core\Form\FormStateInterface $form_state * The current state of the form. The arguments that * \Drupal::formBuilder()->getForm() was originally called with are available * in the array $form_state->getBuildInfo()['args']. * @param $form_id * @param string $form_id * A string that is the unique ID of the form, set by * Drupal\Core\Form\FormInterface::getFormId(). * Loading Loading @@ -235,13 +235,13 @@ function hook_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_stat * hook_form_FORM_ID_alter(). So, for each module, the more general hooks are * called first followed by the more specific. * * @param $form * @param array $form * Nested array of form elements that comprise the form. * @param $form_state * @param \Drupal\Core\Form\FormStateInterface $form_state * The current state of the form. The arguments that * \Drupal::formBuilder()->getForm() was originally called with are available * in the array $form_state->getBuildInfo()['args']. * @param $form_id * @param string $form_id * String representing the name of the form itself. Typically this is the * name of the function that generated the form. * Loading Loading @@ -293,11 +293,11 @@ function hook_form_FORM_ID_alter(&$form, \Drupal\Core\Form\FormStateInterface $f * hook_form_FORM_ID_alter(). So, for each module, the more general hooks are * called first followed by the more specific. * * @param $form * @param array $form * Nested array of form elements that comprise the form. * @param $form_state * @param \Drupal\Core\Form\FormStateInterface $form_state * The current state of the form. * @param $form_id * @param string $form_id * String representing the name of the form itself. Typically this is the * name of the function that generated the form. * Loading
core/lib/Drupal/Core/Render/Element/FormElementBase.php +1 −1 Original line number Diff line number Diff line Loading @@ -132,7 +132,7 @@ public static function processPattern(&$element, FormStateInterface $form_state, * @param $element * An associative array containing the properties and children of the * generic form element. * @param $form_state * @param \Drupal\Core\Form\FormStateInterface $form_state * The current state of the form. * @param array $complete_form * The complete form structure. Loading
core/lib/Drupal/Core/Render/theme.api.php +2 −2 Original line number Diff line number Diff line Loading @@ -525,9 +525,9 @@ * Note that the base theme's form alterations will be run before any sub-theme * alterations. * * @param $form * @param array $form * Nested array of form elements that comprise the form. * @param $form_state * @param \Drupal\Core\Form\FormStateInterface $form_state * The current state of the form. */ function hook_form_system_theme_settings_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state) { Loading