webapp_json-8.x-1.0-beta3/webapp.module
webapp.module
<?php
/**
* @file
* Adds support for serializing entities to Hypertext Application Language.
*/
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Implements hook_help().
*/
function webapp_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.webapp':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('WebApp provides JSON formatted content for Web Applications.') . '</p>';
return $output;
}
}
