Version 1
[yaffs-website] / web / modules / contrib / fontyourface / modules / local_fonts / local_fonts.install
diff --git a/web/modules/contrib/fontyourface/modules/local_fonts/local_fonts.install b/web/modules/contrib/fontyourface/modules/local_fonts/local_fonts.install
new file mode 100644 (file)
index 0000000..0c2bfb7
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+
+/**
+ * @file
+ * Local Fonts install file.
+ */
+
+/**
+ * Implements hook_install().
+ */
+function local_fonts_install() {
+  module_set_weight('local_fonts', 10);
+  drupal_set_message(t('You may now install your own custom fonts. Remember to follow the EULA for any given font.'));
+}
+
+/**
+ * Implements hook_uninstall().
+ */
+function local_fonts_uninstall() {
+  fontyourface_delete('local_fonts');
+}