-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsm_appdashboard_apigee.module
42 lines (38 loc) · 1.81 KB
/
sm_appdashboard_apigee.module
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/**
* @file
* Copyright (C) 2020 Stratus Meridian LLC.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function sm_appdashboard_apigee_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.sm_appdashboard_apigee':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('This Dashboard module for Apigee is a rewrite of D7 Module from original author <a href=":sm_appdashboard_d7">here</a>.', [':sm_appdashboard_d7' => 'https://github.com/giteshk/apigee_devportal_extras/tree/master/apigee_appdashboard']) . '</p>';
$output .= '<h3>' . t('Features') . '</h3>';
$output .= '<ul>';
$output .= '<li>' . t('Approve or Revoke access to any App via Developer portal, instead of performing this action on Edge') . '</li>';
$output .= '<li>' . t('Search for Apps by name') . '</li>';
$output .= '<li>' . t('Search and Sort Apps by date created, date modified') . '</li>';
$output .= '<li>' . t('Apigee Team Apps compatible') . '</li>';
$output .= '</ul>';
return $output;
}
}