I am unable to delete role. following are the steps to reproduce this error.

  1. Install module
  2. Create a custom role and then try to delete it.

When i debug module, i found a hook, which is no longer needed

function front_page_user_role_delete($role) {
  // Delete Front configuration for the role being deleted.
  Database::getConnection()->delete('front_page')
    ->condition('rid', $role->rid)
    ->execute();
}

CommentFileSizeAuthor
Screenshot_2020-07-18 Details ISMA.png85.97 KBsagarwani

Comments

sagarwani created an issue. See original summary.

shani maurya’s picture

Assigned: Unassigned » shani maurya
elc’s picture

Status: Active » Closed (duplicate)
Issue tags: -

#3226405: User role delete getting error

Unknown why the other one is a child of this one, but this only needs one issue.