function content_planner_install in Content Planner 8
Implements hook_install().
File
- ./
content_planner.install, line 11 - Contains module install and uninstall functionality.
Code
function content_planner_install() {
\Drupal::service('module_installer')
->install([
'content_kanban',
'content_calendar',
]);
\Drupal::service("router.builder")
->rebuild();
}