You are here

function gathercontent_update_8302 in GatherContent 8.3

Same name and namespace in other branches
  1. 8.5 gathercontent.install \gathercontent_update_8302()
  2. 8.4 gathercontent.install \gathercontent_update_8302()

Install default import configuration.

File

./gathercontent.install, line 109
Install and uninstall script for GatherContent module.

Code

function gathercontent_update_8302() {
  $config = \Drupal::service('config.factory')
    ->getEditable('gathercontent.import');
  $config
    ->set('node_default_status', 1);
}