You are here

function lightning_api_update_8001 in Lightning API 8

Same name and namespace in other branches
  1. 8.4 lightning_api.install \lightning_api_update_8001()
  2. 8.2 lightning_api.install \lightning_api_update_8001()
  3. 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();
}