Commit 28a171ac authored by Kristian Polso's avatar Kristian Polso

Wrong indentation in previous update hook

parent 98b26050
......@@ -64,16 +64,16 @@ function pino_update_8001() {
}
function pino_update_8002() {
}
// Disable some Seven admin theme blocks that were mistakenly enabled
function pino_update_8002() {
// Same functionality as in pino_install() function, check there for more information
\Drupal::configFactory()->getEditable('block.block.seven_account_menu')->set('status', FALSE)->save(TRUE);
\Drupal::configFactory()->getEditable('block.block.seven_local_tasks')->set('status', FALSE)->save(TRUE);
\Drupal::configFactory()->getEditable('block.block.seven_main_menu')->set('status', FALSE)->save(TRUE);
\Drupal::configFactory()->getEditable('block.block.seven_branding')->set('status', FALSE)->save(TRUE);
// Disable some Seven admin theme blocks that were mistakenly enabled
}
// Same functionality as in pino_install() function, check there for more information
\Drupal::configFactory()->getEditable('block.block.seven_account_menu')->set('status', FALSE)->save(TRUE);
\Drupal::configFactory()->getEditable('block.block.seven_local_tasks')->set('status', FALSE)->save(TRUE);
\Drupal::configFactory()->getEditable('block.block.seven_main_menu')->set('status', FALSE)->save(TRUE);
\Drupal::configFactory()->getEditable('block.block.seven_branding')->set('status', FALSE)->save(TRUE);
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment