Skip to content
Snippets Groups Projects
Commit fc647b07 authored by jay jangid's avatar jay jangid Committed by Andrei Vesterli
Browse files

Issue #3336924 by Jay Jangid: hook_help function missing in .module file

parent b7e60f36
No related branches found
Tags 1.0.1
2 merge requests!7Draft: Aux/3459193,!2Issue #3336924: hook_help function missing in .module file
......@@ -8,7 +8,26 @@
use Drupal\commerce_maib\MAIBGateway;
use Drupal\Component\Serialization\Json;
use Drupal\commerce_payment\Entity\PaymentGateway;
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function commerce_maib_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the commerce_maib module.
case 'help.page.commerce_maib':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The Commerce MAIB (Moldova Agroindbank Payment Gateway)
Drupal Module is used to easily integrate the MAIB Payment into your project.
Based on the maib/maibapi library to connect and process the requests with the
Bank server and log the requests responses.') . '</p>';
return $output;
default:
}
}
/**
* Implements hook_cron().
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment