1 system.install system_update_1081()

Enable Admin Menu's Page Links component.

Related topics

File

core/modules/system/system.install, line 3347
Install, update and uninstall functions for the system module.

Code

function system_update_1081() {
  $config = config('admin_bar.settings');
  $components = $config->get('components');
  $components[] = 'admin_bar.page';
  $config->set('components', array_unique($components));
  $config->save();
}