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.

Comments

Anonymous’s picture

pjonckiere created an issue. See original summary.

aanschut’s picture

Issue tags: +rc eligible

This 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.

brandenlhamilton’s picture

Hey @aanschut,

Checkout https://www.drupal.org/coding-standards/docs#inheritdoc for the Drupal Coding Standards for {@inheritdoc}s

brandenlhamilton’s picture

StatusFileSize
new1.15 KB

Working with @aanschut, produced this beginning patch that updates Drupal\taxonomy\Plugin\views\argument_default\Tid

aanschut’s picture

StatusFileSize
new1.71 KB
new565 bytes

Patch adds inheritdoc blocks in Drupal\user\Plugin\views\argument_default\CurrentUser. Interdiff included

aanschut’s picture

brandenlhamilton’s picture

StatusFileSize
new2.79 KB
new1.09 KB

Updates patch to now include Drupal\views\Plugin\views\argument_default\Fixed. Interdiff included.

dawehner’s picture

Status: Active » Needs work

Thank you for the patch!

\Drupal\views\Plugin\views\argument_default\Fixed ... this could have a couple of those more.

...

aanschut’s picture

StatusFileSize
new3.92 KB
new1.13 KB

Patch adds inheritdoc blocks in Drupal\views\Plugin\views\argument_default\Raw. Interdiff included.

dawehner’s picture

Status: Needs work » Reviewed & tested by the community

The patch is perfect now

mradcliffe’s picture

Patch looks great. Thanks!

mradcliffe’s picture

Title: Argument default plugin docblocs » Argument default plugin docblocks

Fixing issue title.

xjm’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the patch! I confirmed that all these are indeed overridden methods. Committed and pushed to 8.0.x.

  • xjm committed a092001 on 8.0.x
    Issue #2600328 by aanschut, brandenlhamilton, dawehner, pjonckiere:...

Status: Fixed » Closed (fixed)

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