Skip to content
Snippets Groups Projects
Commit 6ab6f23b authored by Shubham Rathore's avatar Shubham Rathore Committed by Anna Demianik
Browse files

Issue #3332835: hook_help function missing in .module file

parent 9dc8c3dd
No related branches found
No related tags found
1 merge request!3Issue #3332835: hook_help function missing in .module file
......@@ -5,8 +5,22 @@
* Custom functionality for bing indexing api.
*/
use Drupal\node\NodeInterface;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\node\NodeInterface;
/**
* Implements hook_help().
*/
function bing_indexing_api_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.bing_indexing_api':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The module provides Microsoft Bing Indexing API and service for URL Submission Tool') . '</p>';
return $output;
}
}
/**
* Implements hook_node_predelete().
......
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