sendgrid_integration.install in SendGrid Integration 6
Same filename and directory in other branches
Contains install and update functions for SendGrid Integration
File
sendgrid_integration.installView source
<?php
/**
* @file
* Contains install and update functions for SendGrid Integration
*/
/**
* Implemenets hook_enable().
*/
function sendgrid_integration_enable() {
variable_set('smtp_library', drupal_get_filename('module', 'sendgrid_integration'));
}
/**
* Implements hook_disable().
*/
function sendgrid_integration_disable() {
variable_del('smtp_library');
}
/**
* Implements hook_uninstall().
*/
function sendgrid_integration_uninstall() {
variable_del('sendgrid_integration_username');
variable_del('sendgrid_integration_apikey');
variable_del('sendgrid_integration_ssl');
}
Functions
Name | Description |
---|---|
sendgrid_integration_disable | Implements hook_disable(). |
sendgrid_integration_enable | Implemenets hook_enable(). |
sendgrid_integration_uninstall | Implements hook_uninstall(). |