function restui_help in REST UI 8
Implements hook_help().
File
- ./
restui.module, line 13 - Hook implementations for REST UI module.
Code
function restui_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'restui.edit':
return '<p>' . t('Here you can restrict which HTTP methods should this resource support. And within each method, the available serialization formats and authentication providers.') . '</p>';
case 'restui.list':
return '<p>' . t('Here you can enable and disable available resources. Once a resource has been enabled, you can restrict its formats and authentication by clicking on its "Edit" link.') . '</p>';
}
}