You are here

fonts_com.install in @font-your-face 6.2

Removes fonts on disable.

File

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

/**
 * @file
 * Removes fonts on disable.
 */

/**
 * Implements hook_enable().
 */
function fonts_com_enable() {

  // Weight must be above @font-your-face weight so preprocess comes after
  db_query("UPDATE {system} SET weight = 1 WHERE name = 'fonts_com'");
}

// fonts_com_enable

/**
 * Implements hook_disable().
 */
function fonts_com_disable() {
  fontyourface_provider_disable('fonts_com');
}

// fonts_com_disable

Functions

Namesort descending Description
fonts_com_disable Implements hook_disable().
fonts_com_enable Implements hook_enable().