The short description for DefaultPluginManager::__construct() says:

Creates the discovery object.

No, that is not a discovery object; it's a plugin manager. It implements the DiscoveryInterface interface, but it is a different object.

Like other classes, the short description should be:

Constructs a new \Drupal\Core\Plugin\DefaultPluginManager object.

CommentFileSizeAuthor
#3 3370684-3.patch645 bytesabhijith s

Comments

apaderno created an issue. See original summary.

avpaderno’s picture

I verified with git grep -n --fixed-strings 'Creates the discovery object.' that is the only class constructor that uses that description. No other plugin manager uses it.

abhijith s’s picture

Status: Active » Needs review
StatusFileSize
new645 bytes
smustgrave’s picture

Priority: Normal » Minor
Status: Needs review » Reviewed & tested by the community

Simple change.

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed 6e85076 and pushed to 11.x. Thanks!

  • catch committed 6e850762 on 11.x
    Issue #3370684 by Abhijith S, apaderno: Change the description for...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 11.x, thanks!

Status: Fixed » Closed (fixed)

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