FINAL suepr merge step : added all modules to this super repos
This commit is contained in:
44
sites/all/modules/contrib/mail/Mailjet/mailjet.module
Normal file
44
sites/all/modules/contrib/mail/Mailjet/mailjet.module
Normal file
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Hooks and functions of module.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_help().
|
||||
*/
|
||||
function mailjet_help($path, $arg) {
|
||||
switch ($path) {
|
||||
case 'admin/help#mailjet':
|
||||
return t('Send your emails by your Mailjet API.');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_menu().
|
||||
*/
|
||||
function mailjet_menu() {
|
||||
$items['admin/config/system/mailjet'] = array(
|
||||
'title' => 'Mailjet settings',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('mailjet_admin_settings'),
|
||||
'access arguments' => array('administer mailjet module'),
|
||||
'description' => 'Send your emails by your Mailjet API.',
|
||||
'file' => 'mailjet.admin.inc',
|
||||
);
|
||||
return $items;
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_permission().
|
||||
*
|
||||
* Defines a permission for managing the mailjet variables.
|
||||
*/
|
||||
function mailjet_permission() {
|
||||
return array(
|
||||
'administer mailjet module' => array(
|
||||
'title' => t('Administer Mailjet settings module'),
|
||||
'description' => t('Perform administration tasks for Mailjet settings module.'),
|
||||
),
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user