Problem/Motivation

The following classes/interfaces have a name that starts with UserRestrictions, instead of UserRestriction, which is the entity type name. (Drupal core uses class names that start with the entity type name.)

  • Drupal\user_restrictions\UserRestrictionsListBuilder
  • Drupal\user_restrictions\UserRestrictionsManager
  • Drupal\user_restrictions\UserRestrictionsManagerInterface

Proposed resolution

Change their names to the following ones.

  • Drupal\user_restrictions\UserRestrictionListBuilder
  • Drupal\user_restrictions\UserRestrictionManager
  • Drupal\user_restrictions\UserRestrictionManagerInterface
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

Issue summary: View changes

avpaderno’s picture

Status: Active » Needs review

  • avpaderno committed 255aac5e on 3.0.x
    Issue #3553592: Rename the entity-related classes
    
avpaderno’s picture

Status: Needs review » Fixed

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

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

Maintainers, please credit people who helped resolve this issue.

avpaderno’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

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