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
Follow up from #916388-161: Convert menu links into entities
Some code in MenuTreeTest.php does not meet Drupal coding standards, in particular, arrays that should be written multi-line.
Proposed resolution
Fix the code according to the standards.
Remaining tasks
Prepare a patch.
User interface changes
None.
API changes
None.
Task | Novice task? | Contributor instructions | Complete? | |
---|---|---|---|---|
Create a patch | Instructions | |||
Manually test the patch | Novice | Instructions | ||
Review patch to ensure that it fixes the issue, stays within scope, is properly documented, and follows coding standards | Instructions |
Comment | File | Size | Author |
---|---|---|---|
#6 | 1903768-6.patch | 37.28 KB | cilefen |
Comments
Comment #1
chrisjlee CreditAttribution: chrisjlee commentedHow's this?
Comment #2
dawehnerI should have mentioned it, but we should better wait until #916388: Convert menu links into entities gets in, as both patches conflict with each other.
Comment #3
amateescu CreditAttribution: amateescu commentedComment #3.0
amateescu CreditAttribution: amateescu commentedUpdated issue summary.
Comment #4
cilefen CreditAttribution: cilefen commentedComment #5
cilefen CreditAttribution: cilefen commentedComment #6
cilefen CreditAttribution: cilefen commentedComment #7
smira CreditAttribution: smira commentedcilefen's #6 patch applied cleanly and fixes all the indentation and array coding standards issues.
please commit,
Thank you!
Comment #8
alexpott@dawehner how badly does this conflict with #2256521: [META] New plan, Phase 2: Implement menu links as plugins, including static admin links and views, and custom links with menu_link_content entity, all managed via menu_ui module? Lol that patch removes this test. Postponing this on that patch.
Comment #9
dawehner@alexpott
The code is moved into multiple areas, so is the unit test, or actually it gets rewritten from scratch if I remember correctly.
Comment #10
cilefen CreditAttribution: cilefen commentedThis file is gone.