Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / fontyourface / modules / google_fonts_api / google_fonts_api.install
index 7cfa10dc43a87aea8f11f9b33cd1237dc339a89c..fe72992d009c5e84f87b7c7eb80be09dad087147 100644 (file)
@@ -5,15 +5,11 @@
  * Google Fonts install file.
  */
 
-use Drupal\Core\Url;
-
 /**
  * Implements hook_install().
  */
 function google_fonts_api_install() {
   module_set_weight('google_fonts_api', 10);
-  $url = Url::fromRoute('font.settings');
-  drupal_set_message(t('Due to the number of fonts, automated import from install for Google Fonts is disabled. Please use @link to import Google Fonts.', ['@link' => \Drupal::l('@font-your-face settings', $url)]));
 }
 
 /**