1 system.install | system_update_1097() |
Set local_action_position in Admin Bar.
Related topics
File
- core/
modules/ system/ system.install, line 3627 - Install, update and uninstall functions for the system module.
Code
function system_update_1097() {
$config = config('admin_bar.settings');
if ($config->get('local_action_position') === NULL) {
$config->set('local_action_position', 'top');
$config->save();
}
}