Multiple content type selection working

This commit is contained in:
2026-01-24 13:59:58 -06:00
parent 2e1878280e
commit f0e38a4b9c
4 changed files with 116 additions and 14 deletions

18
archive_tree.install Normal file
View File

@@ -0,0 +1,18 @@
<?php
/**
* @file
* Install, update and uninstall hooks for the Archive Tree module.
*/
/**
* Implements hook_uninstall().
*/
function archive_tree_uninstall() {
// Remove the views provided by this module on uninstall.
$view_ids = ['archive_by_year', 'archive_by_month'];
foreach ($view_ids as $view_id) {
if ($view = \Drupal::entityTypeManager()->getStorage('view')->load($view_id)) {
$view->delete();
}
}
}