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.

Support from Acquia helps fund testing for Drupal Acquia logo

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

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

aanschut’s picture

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

aanschut’s picture

brandenlhamilton’s picture

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

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.