diff --git a/core/modules/user/lib/Drupal/user/Form/UserRoleDelete.php b/core/modules/user/lib/Drupal/user/Form/UserRoleDelete.php index fdfce4e..2108b92 100644 --- a/core/modules/user/lib/Drupal/user/Form/UserRoleDelete.php +++ b/core/modules/user/lib/Drupal/user/Form/UserRoleDelete.php @@ -8,7 +8,7 @@ namespace Drupal\user\Form; use Drupal\Core\Form\ConfirmFormBase; -use Drupal\user\Plugin\Core\Entity\Role; +use Drupal\user\RoleInterface; /** * Provides a deletion confirmation form for Role entity. @@ -18,7 +18,7 @@ class UserRoleDelete extends ConfirmFormBase { /** * The role being deleted. * - * @var \Drupal\user\Plugin\Core\Entity\Role + * @var \Drupal\user\RoleInterface */ protected $role; @@ -52,10 +52,10 @@ protected function getConfirmText() { /** * {@inheritdoc} - * @param \Drupal\user\Plugin\Core\Entity\Role $user_role + * @param \Drupal\user\RoleInterface $user_role * The role being deleted. */ - public function buildForm(array $form, array &$form_state, Role $user_role = NULL) { + public function buildForm(array $form, array &$form_state, RoleInterface $user_role = NULL) { $this->role = $user_role; return parent::buildForm($form, $form_state); }