SU-HKKU/cardinal_service_profile

View on GitHub
cardinal_service_profile.install

Summary

Maintainability
Test Coverage
<?php

/**
 * @file
 * stanford_profile.install
 */

/**
 * Save the system pages from the original config values into state.
 */
function cardinal_service_profile_update_8002() {
  $state = \Drupal::state();
  $state->set('stanford_profile.403_page', '/node/3');
  $state->set('stanford_profile.404_page', '/node/2');
  $state->set('stanford_profile.front_page', '/node/1');
}