Problem/Motivation
In core/lib/Drupal/Component/Plugin/Attribute/Plugin.php:
* @param string $id
* The attribute class ID.
This should say the plugin ID.
Proposed resolution
Fix docblock
Remaining tasks
Update docblock
Create MR
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | mr_fail.png | 180.01 KB | lostcarpark |
Issue fork drupal-3476226
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3476226-change-class-to-plugin
changes, plain diff MR !9625
Comments
Comment #2
chrisdarke commentedThe Drupal Contribution Mentoring team is triaging issues for DrupalCon Barcelona 2024, and we are reserving this issue for Mentored Contribution during the event.
After September 27, 2024, this issue returns to being open to all. Thanks!
Comment #3
ekorzen2 commentedI'm working on this at DrupalCon Barcelona 2024.
Comment #4
lostcarpark commentedI'm mentoring Emily at Barcelona.
Comment #6
lostcarpark commentedRandy Fay (rfay) has also helped.
Comment #7
ekorzen2 commentedMerge request created, needs review.
Comment #8
dc-mkinoshita commentedI'm working on this issue #barcelona2024
Comment #9
dc-mkinoshita commentedThe text change looks correct to me.
It still needs technical review.
Comment #10
joachim commented> + * The attribute plugin ID.
This should not say 'attribute'.
The attribute is a class that is used to define the plugin's metadata. The values passed to the attribute constructor's parameters will be about the plugin, not the attribute.
Comment #11
ekorzen2 commentedRemoved "attribute."
Comment #12
joachim commentedPerfect! Thanks!
Comment #13
lostcarpark commentedThanks for working on this issue!
One thing we need to check before we commit this is that the merge request passes the test suite. You can see in the issue summary that the test suite has failed with the little red x in a circle:
I clicked on the red X to review the tests, to take me to this page, and navigated to the Nightwatch test that failed: https://git.drupalcode.org/issue/drupal-3476226/-/jobs/2873651
Here is the section that failed:
As this is a JavaScript test, and the change is to documentation, it is very unlikely the change caused the failure.
I am rerunning the failed test to verify.
Comment #14
lostcarpark commentedThere was also a functional test failure:
This is a link to the failed test run log: https://git.drupalcode.org/issue/drupal-3476226/-/jobs/2873642
I searched the Drupal Core issue log, and it appears related to this issue:
https://www.drupal.org/project/drupal/issues/3468830
As this is clearly not caused by this change, I am also rerunning this test.
Comment #15
lostcarpark commentedAdding #3468830: [random test failure] BlockCacheTest::testCachePermissions() as related issue.
Comment #16
joachim commentedI think that as this MR is a docs change only, we can be certain that the test failures are unconnected.
Comment #17
lostcarpark commentedTests passed on rerun.
Comment #18
lostcarpark commentedOops, cross posted, seems to have accidentally changed status. Setting back to RTBC.
Comment #19
rfayCongratulations on getting this to RTBC!
Comment #20
quietone commentedCommitted to 11.x and to 10.4.x. Thanks!
Comment #24
quietone commented