FormState::set(), get(), and has() should explain they work with storage, and crosslinked with getStorage()

Created on 27 April 2016, over 8 years ago
Updated 20 March 2023, over 1 year ago

Problem/Motivation

API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Form%21Fo...

For the following methods:
- setStorage
- getStorage
- get
- set
- has

Change doc comments from

"Sets a value to an arbitrary property."

to a more descriptive comments, and say that it sets the form state storage.

Add @see references between all of the following methods:
- setStorage
- getStorage
- get
- set
- has

Steps to reproduce

Proposed resolution

Remaining tasks

Update patch
Respond to #34
review
commit

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

10.1

Component
Documentation 

Last updated about 17 hours ago

No maintainer
Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Needs reroll

    The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024