25 lines
514 B
PHP
25 lines
514 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* @file
|
||
|
* Contains rest_config.module.
|
||
|
*/
|
||
|
|
||
|
use Drupal\Core\Routing\RouteMatchInterface;
|
||
|
|
||
|
/**
|
||
|
* Implements hook_help().
|
||
|
*/
|
||
|
function rest_config_help($route_name, RouteMatchInterface $route_match) {
|
||
|
switch ($route_name) {
|
||
|
// Main module help for the rest_config module.
|
||
|
case 'help.page.rest_config':
|
||
|
$output = '';
|
||
|
$output .= '<h3>' . t('About') . '</h3>';
|
||
|
$output .= '<p>' . t('Get site configiration through rest api') . '</p>';
|
||
|
return $output;
|
||
|
|
||
|
default:
|
||
|
}
|
||
|
}
|