sendgrid_integration_reports.install in SendGrid Integration 7
Same filename and directory in other branches
Contains install and update functions for SendGrid Integration Reports
File
modules/sendgrid_integration_reports/sendgrid_integration_reports.installView source
<?php
/**
* @file
* Contains install and update functions for SendGrid Integration Reports
*/
/**
* Implements hook_disable().
*/
function sendgrid_integration_reports_disable() {
}
/**
* Implements hook_install().
*/
function sendgrid_integration_reports_install() {
$t = get_t();
drupal_set_message($t('You can configure SendGrid settings under Administer > Configuration > !link', [
'!link' => l($t('SendGrid settings'), 'admin/config/system/sendgrid'),
]));
}
/**
* Implements hook_uninstall().
*/
function sendgrid_integration_reports_uninstall() {
db_drop_table('cache_sendgrid_integration_reports');
}
/**
* Implements hook_schema().
*/
function sendgrid_integration_reports_schema() {
$schema = [];
$schema['cache_sendgrid_integration_reports'] = drupal_get_schema_unprocessed('system', 'cache');
return $schema;
}
Functions
Name | Description |
---|---|
sendgrid_integration_reports_disable | Implements hook_disable(). |
sendgrid_integration_reports_install | Implements hook_install(). |
sendgrid_integration_reports_schema | Implements hook_schema(). |
sendgrid_integration_reports_uninstall | Implements hook_uninstall(). |