Verified Commit eb70d190 authored by Dave Long's avatar Dave Long
Browse files

Issue #3412959 by quietone, smustgrave, longwave: Fix 12 'un' words

(cherry picked from commit 2624df1b)
parent d7e0df28
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -307,8 +307,8 @@ public function prepareForm($form_id, &$form, FormStateInterface &$form_state);
   * run before user input for its child elements is processed, and because of
   * the Form API security of user input processing with respect to #access and
   * #disabled described above, this generally means that #process functions
   * should not use an element's (unvalidated) #value to affect the #disabled or
   * #access of child elements. Use-cases where a developer may be tempted to
   * should not use an element's (non validated) #value to affect the #disabled
   * or #access of child elements. Use-cases where a developer may be tempted to
   * implement such conditional logic usually fall into one of two categories:
   * - Where user input from the current submission must affect the structure of
   *   a form, including properties like #access and #disabled that affect how
+1 −1
Original line number Diff line number Diff line
@@ -258,7 +258,7 @@ class FormState implements FormStateInterface {
  /**
   * The array of values as they were submitted by the user.
   *
   * These are raw and unvalidated, so should not be used without a thorough
   * These are raw and non validated, so should not be used without a thorough
   * understanding of security implications. In almost all cases, code should
   * use the data in the 'values' array exclusively. The most common use of this
   * key is for multi-step forms that need to clear some of the user input when
+2 −2
Original line number Diff line number Diff line
@@ -301,7 +301,7 @@ public function addBuildInfo($property, $value);
  /**
   * Returns the form values as they were submitted by the user.
   *
   * These are raw and unvalidated, so should not be used without a thorough
   * These are raw and non validated, so should not be used without a thorough
   * understanding of security implications. In almost all cases, code should
   * use self::getValues() and self::getValue() exclusively.
   *
@@ -314,7 +314,7 @@ public function &getUserInput();
   * Sets the form values as though they were submitted by a user.
   *
   * @param array $user_input
   *   An associative array of raw and unvalidated values.
   *   An associative array of raw and non validated values.
   *
   * @return $this
   */
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ public function executeValidateHandlers(&$form, FormStateInterface &$form_state)
   *   in case of a validation error. If a validation handler alters the form
   *   structure, it is responsible for validating the values of changed form
   *   elements in $form_state->getValues() to prevent form submit handlers from
   *   receiving unvalidated values.
   *   receiving non validated values.
   * @param $form_state
   *   The current state of the form. The current user-submitted data is stored
   *   in $form_state->getValues(), though form validation functions are passed
+2 −1
Original line number Diff line number Diff line
@@ -9,7 +9,8 @@
 * Used to return generated links, along with associated cacheability metadata.
 *
 * Note: not to be confused with \Drupal\Core\Link, which is for passing around
 *   ungenerated links (typically link text + route name + route parameters).
 *   links that are not generated (typically link text + route name + route
 *   parameters).
 */
class GeneratedLink extends BubbleableMetadata implements MarkupInterface, \Countable {

Loading