Problem/Motivation

Part of #3220021: [meta] Ensure compatibility of Drupal 9 with PHP 8.1 (as it evolves)

Steps to reproduce

Proposed resolution

Form builder should get 0 instead of NULL when counter initially requested.
Also first submission could use 0 as default too.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andypost created an issue. See original summary.

andypost’s picture

Assigned: Unassigned » alexpott
Status: Active » Needs review
FileSize
1.25 KB
1.25 KB

@alexpott interdiff against META

catch’s picture

Status: Needs review » Reviewed & tested by the community

Looks good, just adding a default argument.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 2178a98 and pushed to 9.3.x. Thanks!

  • alexpott committed 2178a98 on 9.3.x
    Issue #3239558 by andypost: Properly use state counter in \Drupal\...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.