You are here

local_fonts.install in @font-your-face 8.3

Local Fonts install file.

File

modules/local_fonts/local_fonts.install
View source
<?php

/**
 * @file
 * Local Fonts install file.
 */

/**
 * Implements hook_install().
 */
function local_fonts_install() {
  module_set_weight('local_fonts', 10);
  Drupal::messenger()
    ->addMessage(t('You may now install your own custom fonts. Remember to follow the EULA for any given font.'));
}

/**
 * Implements hook_uninstall().
 */
function local_fonts_uninstall() {
  fontyourface_delete('local_fonts');
}

Functions