You are here

function apigee_edge_update_8001 in Apigee Edge 8

Initialize apigee_edge.dangerzone settings with default values.

File

./apigee_edge.install, line 188
Copyright 2018 Google Inc.

Code

function apigee_edge_update_8001() {
  $config_factory = \Drupal::configFactory();
  $dangerzone_settings = $config_factory
    ->getEditable('apigee_edge.dangerzone');
  $dangerzone_settings
    ->set('skip_developer_app_settings_validation', FALSE)
    ->set('do_not_alter_key_entity_forms', FALSE)
    ->save(TRUE);
}