Problem/Motivation

The usual service name for plugin managers starts with plugin.manager., which is the service name used for services implemented by classes like Drupal\Core\Block\BlockManager, Drupal\Core\Action\ActionManager, or Drupal\help\HelpSectionManager.

In the same way, the user_restrictions.type_manager service should be named plugin.manager.user_restriction_type.

Proposed resolution

Rename the user_restrictions.type_manager service plugin.manager.user_restriction_type, but keep the first as alias of the latter.

user_restrictions.type_manager should be deprecated in the 3.0.x branch and removed from the 4.0.x branch.

Command icon 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:

Comments

avpaderno created an issue. See original summary.

avpaderno’s picture

Status: Active » Needs review

  • avpaderno committed 8a2431cf on 2.1.x
    Issue #3554160: Rename the user_restrictions.type_manager service plugin...
avpaderno’s picture

Version: 2.1.x-dev » 3.0.x-dev

  • avpaderno committed 828ce266 on 3.0.x
    Issue #3554160: Rename the user_restrictions.type_manager service plugin...
avpaderno’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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