Implements hook_install().

File

./colorbox_load.install, line 11

Code

function colorbox_load_install() {
    $config = \Drupal::configFactory()->getEditable('ng_lightbox.settings');
    $config->set('renderer', 'drupal_colorbox');
    $config->save();
}