5 * Adobe Edge Fonts install file.
11 * Implements hook_install().
13 function adobe_edge_fonts_install() {
14 module_set_weight('adobe_edge_fonts', 10);
15 $url = Url::fromRoute('font.settings');
16 drupal_set_message(t('Due to the number of fonts, automated import from install for Adobe Edge Fonts is disabled. Please use @link to import Adobe Edge Fonts.', ['@link' => \Drupal::l('@font-your-face settings', $url)]));
20 * Implements hook_uninstall().
22 function adobe_edge_fonts_uninstall() {
23 fontyourface_delete('adobe_edge_fonts');