* Fonts.com API install file.
*/
-use Drupal\Core\Url;
-
/**
* Implements hook_install().
*/
function fontscom_api_install() {
module_set_weight('fontscom_api', 10);
- $url = Url::fromRoute('font.settings');
- drupal_set_message(t('Fonts.com settings needs to be set up in order to import fonts from Fonts.com. Please use @link to import Fonts.com fonts.', ['@link' => \Drupal::l('@font-your-face settings', $url)]));
}
/**