You are here

public function UserStorageInterface::deleteRoleReferences in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/user/src/UserStorageInterface.php \Drupal\user\UserStorageInterface::deleteRoleReferences()
  2. 9 core/modules/user/src/UserStorageInterface.php \Drupal\user\UserStorageInterface::deleteRoleReferences()

Delete role references.

Parameters

array $rids: The list of role IDs being deleted. The storage should remove permission and user references to this role.

1 method overrides UserStorageInterface::deleteRoleReferences()
UserStorage::deleteRoleReferences in core/modules/user/src/UserStorage.php
Delete role references.

File

core/modules/user/src/UserStorageInterface.php, line 38

Class

UserStorageInterface
Defines an interface for user entity storage classes.

Namespace

Drupal\user

Code

public function deleteRoleReferences(array $rids);