You are here

function wingsuit_companion_install in Gin Layout Builder 8.2

Implements hook_install().

Set default dist_path to "themes/custom/wingsuit/dist/app-drupal"

File

./wingsuit_companion.install, line 50
Provides install/uninstall for wingsuit_companion module.

Code

function wingsuit_companion_install() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('wingsuit_companion.config');
  $config
    ->set('dist_path', 'themes/custom/wingsuit/dist/app-drupal');
  $config
    ->save(TRUE);
}