function menu_per_role_update_8102 in Menu Per Role 8
Removes old config since it is replaced by permission.
File
- ./
menu_per_role.install, line 34
Code
function menu_per_role_update_8102() {
\Drupal::configFactory()
->getEditable('menu_per_role.settings')
->clear('uid1_see_all')
->clear('admin_see_all')
->save();
}