function subscriptions_mail_schema_alter in Subscriptions 7
Same name and namespace in other branches
- 2.0.x subscriptions_mail/subscriptions_mail.module \subscriptions_mail_schema_alter()
Implements hook_schema_alter().
Adds subscriptions_comment_body column to the existing mail_edit schema.
Parameters
$schema array:
2 calls to subscriptions_mail_schema_alter()
- subscriptions_mail_uninstall in ./
subscriptions_mail.install - Implements hook_uninstall().
- _subscriptions_mail_extend_mail_edit in ./
subscriptions_mail.install - Adds a column to the {mail_edit} table.
1 string reference to 'subscriptions_mail_schema_alter'
- _subscriptions_mail_extend_mail_edit in ./
subscriptions_mail.install - Adds a column to the {mail_edit} table.
File
- ./
subscriptions_mail.module, line 190 - Subscriptions module mail gateway.
Code
function subscriptions_mail_schema_alter(array &$schema) {
$schema['mail_edit']['fields']['subscriptions_comment_body'] = array(
'type' => 'text',
'size' => 'normal',
'description' => 'Comment template for the Subscriptions module.',
);
}