function lightning_api_update_8001 in Lightning API 8
Same name and namespace in other branches
- 8.4 lightning_api.install \lightning_api_update_8001()
- 8.2 lightning_api.install \lightning_api_update_8001()
- 8.3 lightning_api.install \lightning_api_update_8001()
Sets a default value for lightning_api.settings:bundle_docs.
File
- ./
lightning_api.install, line 43
Code
function lightning_api_update_8001() {
\Drupal::configFactory()
->getEditable('lightning_api.settings')
->set('bundle_docs', TRUE)
->save();
}