Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The patch over in #1776796: Provide a better UX for creating, editing & managing draft revisions. contains some doc fixes to the NodeForm class, and also it abstracts the assertButtons()
method to a trait. Since that issue is postponed to 8.1.x, moving the node module improvements here will make life easier on contrib for testing the node form.
Proposed resolution
Move the method to a trait.
Remaining tasks
Review.
User interface changes
API changes
Data model changes
BETA EVAL:
Test only changes are unfrozen.
Comment | File | Size | Author |
---|---|---|---|
#6 | 2511584-6.patch | 3.54 KB | rpayanm |
Comments
Comment #1
jhedstromComment #2
jhedstromHad the wrong issue in the summary.
Comment #3
Fabianx CreditAttribution: Fabianx as a volunteer commentedNice :)
Comment #4
xjmFair enough!
Looks like this no longer applies though -- the docs improvements (which are slightly of out of scope anyway) seem to be for methods that aren't there anymore.
Comment #5
Fabianx CreditAttribution: Fabianx as a volunteer commentedComment #6
rpayanmPlease review.
I can not find this:
Comment #7
Fabianx CreditAttribution: Fabianx as a volunteer commentedComment #8
xjmThis issue only changes test code, so per https://www.drupal.org/core/beta-changes, this can be completed any time during the Drupal 8 beta phase. Committed and pushed to 8.0.x. Thanks!
Fixed a missing newline on commit: