Loading core/lib/Drupal/Core/Form/FormBuilderInterface.php +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading core/lib/Drupal/Core/Form/FormState.php +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading core/lib/Drupal/Core/Form/FormStateInterface.php +2 −2 Original line number Diff line number Diff line Loading @@ -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. * Loading @@ -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 */ Loading core/lib/Drupal/Core/Form/FormValidatorInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading core/lib/Drupal/Core/GeneratedLink.php +2 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
core/lib/Drupal/Core/Form/FormBuilderInterface.php +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading
core/lib/Drupal/Core/Form/FormState.php +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
core/lib/Drupal/Core/Form/FormStateInterface.php +2 −2 Original line number Diff line number Diff line Loading @@ -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. * Loading @@ -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 */ Loading
core/lib/Drupal/Core/Form/FormValidatorInterface.php +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
core/lib/Drupal/Core/GeneratedLink.php +2 −1 Original line number Diff line number Diff line Loading @@ -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