You are here

function moderation_dashboard_update_8100 in Moderation Dashboard 2.0.x

Same name and namespace in other branches
  1. 8 moderation_dashboard.install \moderation_dashboard_update_8100()

Creates the moderation_dashboard.settings config object.

File

./moderation_dashboard.install, line 11
Contains installation and update hooks for Moderation dashboard.

Code

function moderation_dashboard_update_8100() {
  \Drupal::configFactory()
    ->getEditable('moderation_dashboard.settings')
    ->set('redirect_on_login', TRUE)
    ->save(TRUE);
}