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
Several argument default plugins lack inheritdoc docblocks.
They are in:
- Drupal\taxonomy\Plugin\views\argument_default\Tid
- Drupal\user\Plugin\views\argument_default\CurrentUser
- Drupal\views\Plugin\views\argument_default\Fixed
- Drupal\views\Plugin\views\argument_default\Raw
Proposed resolution
Fix the docs.
Remaining tasks
Fix the docs.
User interface changes
None.
API changes
None.
Data model changes
None.
Comment | File | Size | Author |
---|---|---|---|
#9 | interdiff-2600328-7-9.txt | 1.13 KB | aanschut |
#9 | inheritdoc-2600328-9.patch | 3.92 KB | aanschut |
#7 | interdiff-2600328-5-7.txt | 1.09 KB | brandenlhamilton |
#7 | inheritdoc-2600328-7.patch | 2.79 KB | brandenlhamilton |
#5 | interdiff-2600328-4-5.txt | 565 bytes | aanschut |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous at XIO commentedpjonckiere created an issue. See original summary.
Comment #2
aanschut CreditAttribution: aanschut as a volunteer commentedThis is RC eligible according to https://www.drupal.org/core/d8-allowed-changes#rc where this is a doc change.
I and brandenlhamilton are working on this.
Comment #3
brandenlhamilton CreditAttribution: brandenlhamilton commentedHey @aanschut,
Checkout https://www.drupal.org/coding-standards/docs#inheritdoc for the Drupal Coding Standards for
{@inheritdoc}
sComment #4
brandenlhamilton CreditAttribution: brandenlhamilton commentedWorking with @aanschut, produced this beginning patch that updates
Drupal\taxonomy\Plugin\views\argument_default\Tid
Comment #5
aanschut CreditAttribution: aanschut as a volunteer commentedPatch adds inheritdoc blocks in
Drupal\user\Plugin\views\argument_default\CurrentUser
. Interdiff includedComment #6
aanschut CreditAttribution: aanschut as a volunteer commentedComment #7
brandenlhamilton CreditAttribution: brandenlhamilton commentedUpdates patch to now include
Drupal\views\Plugin\views\argument_default\Fixed
. Interdiff included.Comment #8
dawehnerThank you for the patch!
\Drupal\views\Plugin\views\argument_default\Fixed
... this could have a couple of those more....
Comment #9
aanschut CreditAttribution: aanschut as a volunteer commentedPatch adds inheritdoc blocks in
Drupal\views\Plugin\views\argument_default\Raw
. Interdiff included.Comment #10
dawehnerThe patch is perfect now
Comment #11
mradcliffePatch looks great. Thanks!
Comment #12
mradcliffeFixing issue title.
Comment #13
xjmThanks for the patch! I confirmed that all these are indeed overridden methods. Committed and pushed to 8.0.x.