ws_small_y-1.0.x-dev/ws_small_y.install
ws_small_y.install
<?php
/**
* @file
* Install, update and uninstall functions for the YMCA WS - Small Y module.
*/
/**
* Implements hook_install().
*/
function ws_small_y_install() {
// Import generic bootstrap styles configuration.
$path = \Drupal::service('extension.list.module')->getPath('ws_small_y') . '/config/optional';
$config_importer = \Drupal::service('config_import.importer');
$config_importer->setDirectory($path);
$config_importer->importConfigs([
'core.entity_view_display.node.landing_page_lb.default',
]);
}
/**
* Add a section for breadcrumbs.
*/
function ws_small_y_update_91001() {
ws_small_y_install();
}
