API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Form%21Fo...
The description includes the following sentence:
"See \Drupal\Core\Form\FormState::$internalStorage for documentation of the available flags."
But FormState class does not have property $internalStorage.
See
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Form%21Fo...
Perhaps this sentence should be written like:
"See \Drupal\Core\Form\FormState for documentation of the available flags."
Additional info:
This issue is also actual for previous (8.0.x - 8.5.x) versions.
See API pages:
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Form%21Fo...
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Form%21Fo...
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Form%21Fo...
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Form%21Fo...
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Form%21Fo...
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Form%21Fo...
Comment | File | Size | Author |
---|---|---|---|
#4 | FormStateInterface-documentation-update-2950630-4.patch | 865 bytes | msankhala |
Comments
Comment #2
cilefen CreditAttribution: cilefen as a volunteer commentedComment #3
msankhala CreditAttribution: msankhala as a volunteer and at Srijan | A Material+ Company commentedComment #4
msankhala CreditAttribution: msankhala as a volunteer and at Srijan | A Material+ Company commentedComment #5
longwaveLooks good.
Comment #6
alexpottCommitted and pushed b8704f830a to 8.6.x and 6e7c2fa390 to 8.5.x. Thanks!
I was going to suggest we add an @see but looking at https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Form%21Fo... that doesn't seem necessary api.d.o makes a link from fully qualified class names. Nice.
Credited @wombatbuddy for creating the issue.
Comment #9
msankhala CreditAttribution: msankhala as a volunteer and at Srijan | A Material+ Company commented