summaryrefslogtreecommitdiff
path: root/modules/g2_import/helpers/g2_import_event.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/g2_import/helpers/g2_import_event.php')
-rw-r--r--modules/g2_import/helpers/g2_import_event.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/g2_import/helpers/g2_import_event.php b/modules/g2_import/helpers/g2_import_event.php
index 77b489a7..609e1a45 100644
--- a/modules/g2_import/helpers/g2_import_event.php
+++ b/modules/g2_import/helpers/g2_import_event.php
@@ -25,4 +25,13 @@ class g2_import_event_Core {
static function item_created($item) {
g2_import::copy_matching_thumbnails_and_resizes($item);
}
+
+ static function admin_menu($menu, $theme) {
+ $menu
+ ->get("settings_menu")
+ ->append(Menu::factory("link")
+ ->id("g2_import")
+ ->label(t("Gallery 2 Import"))
+ ->url(url::site("admin/g2_import")));
+ }
}