function UserStorageInterface::deleteRoleReferences

Same name in other branches
  1. 9 core/modules/user/src/UserStorageInterface.php \Drupal\user\UserStorageInterface::deleteRoleReferences()
  2. 8.9.x core/modules/user/src/UserStorageInterface.php \Drupal\user\UserStorageInterface::deleteRoleReferences()
  3. 11.x 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.