function gathercontent_update_8302 in GatherContent 8.5
Same name and namespace in other branches
- 8.3 gathercontent.install \gathercontent_update_8302()
- 8.4 gathercontent.install \gathercontent_update_8302()
Install default import configuration.
File
- ./
gathercontent.install, line 124 - 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);
}