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