function lightning_layout_update_8009 in Lightning Layout 8.2
Same name and namespace in other branches
- 8 lightning_layout.install \lightning_layout_update_8009()
Removes the Lightning third_party_settings from Layout Manager role.
File
- ./
lightning_layout.install, line 114 - Contains installation and update routines for Lightning Layout.
Code
function lightning_layout_update_8009() {
$role = Role::load('layout_manager');
if ($role) {
$role
->unsetThirdPartySetting('lightning', 'bundled');
$role
->save();
}
}