5 * Websafe Fonts Test install file.
11 * Implements hook_install().
13 function websafe_fonts_test_install() {
14 module_set_weight('websafe_fonts_test', 10);
15 $url = Url::fromRoute('font.settings');
16 drupal_set_message(t('Websafe Fonts Test needs to be set up in order for fonts to be imported. Please use @link to import Websafe Fonts Test fonts.', ['@link' => \Drupal::l('@font-your-face settings', $url)]));
20 * Implements hook_uninstall().
22 function websafe_fonts_test_uninstall() {
23 fontyourface_delete('websafe_fonts_test');